If the prime does not divide , then . The Bezout identity gives integers with . Multiplying by gives . If , both terms on the left are divisible by , so . Thus Euclid lemma holds:
For completeness, existence in the fundamental theorem of arithmetic follows by strong induction on a positive integer . If is prime there is nothing to prove; otherwise with , and the inductive prime factorizations of give one for . The integer has the empty factorization.
For uniqueness, suppose are two prime factorizations. Repeated application of Euclid lemma shows that divides some . Both are primes, so they are equal. Reorder the second list, cancel this equal factor, and repeat. All factors must be matched, including their multiplicities. Thus prime factorization exists and is unique up to the order of its factors. For nonzero negative integers one also records the sign.
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 gives
Every factor on the right is a unit, so its product can be cancelled. This proves
The 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 and
Induction gives . Since is coprime to , no remainder is zero. The congruence above therefore implies for every , using the unique representative in . In particular
Hence
This is the mechanism of decimal period from multiplicative order: the period divides .

Articles by others on the same topic (0)

There are currently no matching articles.