Optiver Interview Question

Sequence questions, mental math questions.