Optiver interview question

Sequences game (find the next number in pattern)