How can $ab\bmod c = d$ be solved, if $b$, $c$ and $d$ are known?
A similar algorithm is used by LCGs (weak PRNG) to give random values. To solve this, I used WolframAlpha which quickly solved, but shown nothing about process.
What is the process to solve such problems?