The Wikipedia article on LCGs has the generators for the most popular compilers. You could try each formula to see which one fits.
I don't see what could possibly be the use of doing this, though.
Moreover, the RNG that comes in the standard library is underpowered and not very balanced.
If you really want something nice, google around "mersenne twister".