Given a standard LCG output, let's say 3 consecutive numbers, I'm wondering how I could get $a$ and $c$ if I already know $m$
LCG formula:
Sn+1 = ( aSn + c ) mod m
I've seen this posted in a lot of places but no one is really giving a math explanation I could understand.