The minimum period lengths of the two sequences associated with a fraction ( \frac{a}{b} )—the sequence of digits in its decimal expansion and the sequence of remainders obtained during long division—are indeed necessarily equal. Here's why:
1. Sequence of Remainders in Long Division:
When performing long division of ( a ) by ( b ), the sequence of remainders ( r_0, r_1, r_2, \ldots ) is generated as follows:
- Start with ( r_0 = a ).
- At each step, compute ( r_{k+1} = 10 \cdot r_k \mod b ).
This sequence of remainders is periodic because there are only finitely many possible remainders (specifically, ( b ) possible remainders: ( 0, 1, \ldots, b-1 )). The length of the minimal period of this sequence is called the remainder period or the order of 10 modulo ( b ) (if ( \gcd(10, b) = 1 )).
2. Sequence of Digits in the Decimal Expansion:
The decimal expansion of ( \frac{a}{b} ) is generated by the remainders. Each digit ( d_k ) in the decimal expansion is given by:
[ d_k = \left\lfloor \frac{10 \cdot r_{k-1}}{b} \right\rfloor ]
where ( r_{k-1} ) is the remainder from the previous step.
The sequence of digits ( d_1, d_2, d_3, \ldots ) is periodic because it is directly determined by the periodic sequence of remainders. The period of the digit sequence is the same as the period of the remainder sequence because each digit is uniquely determined by the corresponding remainder.
3. Equality of Minimal Periods:
- The sequence of remainders is periodic with some minimal period ( T ). This means that ( r_{k+T} = r_k ) for all ( k ), and ( T ) is the smallest positive integer for which this holds.
- Since each digit ( d_k ) is a function of ( r_{k-1} ), the sequence of digits will also be periodic with the same period ( T ). If the digit sequence had a smaller period ( T' ), then the remainder sequence would also have to repeat with period ( T' ), contradicting the minimality of ( T ).
Thus, the minimal period lengths of the two sequences must be equal.
4. Example:
Consider ( \frac{1}{7} ):
- The decimal expansion is ( 0.\overline{142857} ), with a period of 6.
- The sequence of remainders is ( 1, 3, 2, 6, 4, 5, 1, \ldots ), which also has a period of 6.
Both sequences have the same minimal period length.
Conclusion:
The minimal period lengths of the sequence of digits and the sequence of remainders in the decimal expansion of ( \frac{a}{b} ) are necessarily equal. This is because the digit sequence is directly derived from the remainder sequence, and the periodicity of the digits is inherited from the periodicity of the remainders.
\boxed{\text{Yes, the minimum period lengths of the two sequences are necessarily equal.}}