Question d’entretien chez Optiver

Mental Math and some sequences