The Wilson theorem says that for a prime number . Thus , and since , we get . The Fermat little theorem says when does not divide . Applying it to gives , so is the inverse of modulo . Since , the required residue is
This is the unique representative in .
For the simultaneous integer congruences, the modulus- condition is already implied by . Write ; the modulus- condition becomes , hence . The modulus- condition then gives , or . Therefore
Every such integer satisfies all four integer congruences; reversing the substitutions shows that there are no others. The uniqueness modulo also follows from the Chinese remainder theorem applied to the coprime moduli .

Articles by others on the same topic (0)

There are currently no matching articles.