Sequences (for question 3), Functions (for question 7)