linear congruence
The linear congruence
where , and are known integers and , has exactly one solution in , when numbers congruent to each other are not regarded as different. The solution can be obtained as
where means Euler’s phi-function.
Solving the linear congruence also gives the solution of the Diophantine equation
and conversely. If , is a solution of this equation, then the general solution is
where , , , …