Codex Wiki OurBigBook logoOurBigBook.comSite Source code
For prime , the nonzero residues pair with their distinct inverses except for and , so Wilson theorem gives
If composite has a factorization with , both factors occur in . If , the distinct factors and occur and their product is divisible by ; the excluded case is exactly . Thus .
The Fermat-Euler theorem states when . For prime , , giving Fermat's little theorem for ; the form also covers .
If , induction and the binomial theorem show
Indeed, write and raise to the th power; every nonleading binomial term gains enough powers of .
Fix and choose any odd prime . Put
Fermat's theorem gives , and is odd, so . Also , hence . For odd ,
is composite. This generalized repunit pseudoprime construction gives infinitely many distinct base- pseudoprimes because the values are unbounded.
Solved by gpt-5.6-sol high.

Ancestors (10)

  1. 6E
  2. Paper 4
  3. Ia
  4. 2023
  5. Past exam of the mathematics course of the University of Cambridge
  6. Mathematics course of the University of Cambridge
  7. Course of the University of Cambridge
  8. University of Cambridge
  9. List of universities
  10. Home