I am trying to solve problem 26 from project euler which asks Find the value of $d < 1000$ for which $1/d$ contains the longest recurring cycle in its decimal fraction part.
I noticed that all the cycle lengths are smaller than $d$ (at least for numbers $d < 1'000'000$), and I was wondering why this seems to be true. Is there a deep reason for this, or is this just something trivial I am not seeing?
Because there is maximum of $d-1$ possible remainders when dividing $1 \cdot 10, 2 \cdot 10 , ... (d-1) \cdot 10$ by $d$ and eventually in the process of division you divide some of these numbers with $d$ again and then all repeats.