I read this question about breaking a LCG, but I can't understand how to solve the system of 2 equations given 3 sequential outputs.
The system should be
X2 = (X1 * a + b) mod p
X3 = (X2 * a + b) mod p
How is it possible to find a and b?
I am assuming that X1, X2, X3 and p are known.