Alex Petty

The Collision Invariant

Shift a repeating digit string and count the places where the digits still agree. Long division turns that question into one about multiplying remainders. For a prime denominator larger than the base, every nonzero multiplier gives an even number of matches across the full set of nonzero remainders. In base ten, exactly nine multipliers miss every match, however large the prime denominator gets.