The quantum Fourier transform measurement supplies a rational approximation
where is the desired multiplicative order. Here
Its reduced continued fraction convergent has denominator two, so continued-fraction recovery in quantum order finding proposes . Direct order verification from divisors confirms it:
Hence
As a check, the classical final step of the Shor algorithm gives
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.
The multiplicative order makes the states , , distinct and cyclic under . Therefore
Thus each is an eigenvector with
These are the Fourier eigenvectors of the cyclic modular-multiplication orbit.
If a prime number divides the Fermat number , it is odd and . The multiplicative order of divides but not , so it is exactly . Fermat's little theorem then gives . For , every prime divisor is modulo . A prime need not divide any Fermat number merely because it is modulo : order excludes the prime from the whole family.