Optiver interview question

Mental arithmetic and pattern recognition.