A secret society uses a peculiar clock for their meetings. The clock face has positions numbered 0 through 99 (instead of 1-12), and the single hand moves in a special way: starting at position 0, it advances by 37 positions with each tick. After many ticks, the hand will eventually return to position 0 for the first time. How many distinct positions on the clock face will the hand visit before returning to 0?
Enter a whole number
Show solution
We need to find how many distinct positions the hand visits on a clock with positions 0 through 99, where each tick advances by 37 positions (modulo 100).
After k ticks, the hand is at position 37k(mod100).
The hand returns to 0 when 37k≡0(mod100), which means 100∣37k.
Since gcd(37,100)=1 (as 37 is prime and doesn't divide 100), by Bézout's identity, 37 and 100 are coprime.
When gcd(a,n)=1, the sequence 0,a,2a,3a,…(modn) cycles through all n residues before repeating.
Therefore, the hand visits all positions 0,37,74,11,48,85,…(mod100) before returning to 0.
The number of distinct positions visited is exactly 100.
To verify the period: the smallest positive k such that 37k≡0(mod100) is when k=gcd(37,100)100=1100=100.
Alternatively, by Fermat-Euler theorem, since gcd(37,100)=1, we know 37ϕ(100)≡1(mod100), where ϕ(100)=40. But for the additive sequence, the period is gcd(37,100)100=100.
The answer is 100.