CryptologyCracking a Linear Congruence Generator 

Input integers that form a partial sequence presumably generated by a linear congruence generator x_{n} = ax_{n1} + b mod m.
The program will check if this is so, and will predict the next 20 numbers.