problm4 sequences types