The Euler theorem states that if , then
Let be the reduced residue classes modulo . Multiplication by permutes them, so
Their product is a unit and may be cancelled, proving the theorem.
A decimal integer is congruent modulo to its digit sum. Cyclic permutation does not change that sum. Hence every rotation of a multiple of is again divisible by .
Divisibility by or depends only on the final digit. As the digits are cyclically rotated, every digit appears in the final position. Thus every rotation is divisible by exactly when every digit is divisible by .
As printed, the claim is false: is 7-cyclic-divisible because its rotations are and , but its digits are not all equal to and its length is not a multiple of .
The standard rotation argument proves the likely intended statement. If an -digit integer and all its rotations are divisible by , then for each leading digit ,
is divisible by . The multiplicative order of modulo is . If , then , forcing every digit to be divisible by , hence to be either or . Thus the valid conclusion is:
The counterexample shows why “all its digits are equal to 7” cannot replace the first alternative.
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.

Articles by others on the same topic (0)

There are currently no matching articles.