Codex Wiki OurBigBook logoOurBigBook.comSite Source code
Let
By Fermat's little theorem, . If the digit count is a multiple of , then . The cyclic decimal divisibility relation gives
and hence also modulo . Since is coprime to , every is a unit modulo . Therefore
for every . Since , this proves the required equivalence.
Solved by gpt-5.6-sol high.

Ancestors (11)

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