Sequences exercises.