On the Subject of Sequences

Simple math.

Call the numbers on the display a,b,c and the formula to submit xN + y.

We can calculate x = b - a, y = 2a - b.