The Fermat-Euler theorem states that, for a positive integer and an integer coprime to , , where the Euler totient function counts residue classes coprime to . The case is trivial. For , let be a reduced residue system. Multiplication by permutes it: equality of two resulting residues can be cancelled using the modular inverse of , and the products remain coprime to . Multiplying the residues before and after the permutation givesEvery factor on the right is a unit, so its product can be cancelled. This provesThe integer is prime: none of the primes up to divides it. Therefore . Apply the theorem to and use the supplied congruence:To connect this to individual digits rather than merely assert periodicity, use long-division remainders andInduction gives . Since is coprime to , no remainder is zero. The congruence above therefore implies for every , using the unique representative in . In particularHenceThis is the mechanism of decimal period from multiplicative order: the period divides .
Articles by others on the same topic
There are currently no matching articles.