The Euler theorem states that if , thenLet be the reduced residue classes modulo . Multiplication by permutes them, soTheir 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.
Articles by others on the same topic
There are currently no matching articles.