Problem 7: A Mistery in Long Division 26 May 2025

I came up with this problem myself, enjoy!

The problem

There are two (eventually) periodic sequences associated with a fraction of positive integers $a/b$: the sequence of digits, and the sequence of remainders obtained by performing long division. Are the minimum period lengths of these two sequences necessarily the same?

Solution