Eliminate by twice the first modular congruence minus three times the second. This givesThe modular inverse of is , because . Hence . Substitution into the second modular congruence gives , and , so . ThusIn particular, works: and . The elimination is reversible because and have modular inverses, so the displayed classes contain all solutions.
The integer is prime: none of the primes below divides it. Since , Fermat's little theorem gives . Therefore is the modular inverse of . The extended Euclidean algorithm yieldsand back-substitution gives . ConsequentlyIndeed, , directly checking the required modular inverse.
Articles by others on the same topic
There are currently no matching articles.