'Linear congruence calculation

I need to calculate x having the following formula:

222143612600812046617511287447004107467 = (124238402538911150679814605267508298634 * x + 177062111784129036182002943089208846590) % 240282366920938434633746074317682114559.

% : Is the modulus.

How can I do it?

Thanks in advance for your kind help. Regards.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source