Recurring decimals and modular structure
This problem sits at a beautiful intersection of number theory and the familiar world of decimal expansions. Understanding why the period of divides takes you right into the multiplicative order of modulo , a concept that also underpins Fermat's Little Theorem. By working through the argument, you will see how modular arithmetic can reveal hidden structure in the repetend, including Midy's theorem – a classic result that often appears in HSC extension questions on sequences and series.
Problem Statement
Let be prime (), and let be the period of .
- Show .
- If , prove and the two half-blocks of the repetend sum to .
Hints
Factor and use minimality of .
Solutions
The period of the decimal expansion is the smallest positive integer such that ; this is because the repeating block corresponds to the integer . Therefore is the multiplicative order of modulo . By Fermat's Little Theorem, , and since the order divides any exponent giving , we must have .
Now suppose the period is even, so . Because is the order, divides . The minimality of tells us that is not divisible by , so . Factoring forces to divide the other factor, thus , which yields .
With in hand, look at the repetend itself. Write the repeating block of length as two -digit blocks: let be the first half and the second half, so that
Using and the geometric series expansion, one obtains Midy's theorem:
Takeaways
- The period of is the order of modulo , so it must divide – a direct consequence of Fermat's Little Theorem.
- When the period is even, the repetend splits into two halves that sum to (a string of nines). This property, known as Midy's theorem, can be a handy shortcut for checking divisibility or for constructing fractions with prescribed repetends.
- This problem shows how modular arithmetic reveals structure in everyday decimal expansions, linking sequences, number theory, and calculus in one neat package.
Further Readings
HSC Trigonometry, HSC Proofs, HSC Combinatorics, HSC Integrals