Multiplicative Order and Repeating Expansions

A repeating expansion in any integer base is a modular orbit. The period is an element order when the denominator is coprime to the base.

Source
Anbloq
Language
English
Created
Updated
Chapters
1
Reading time
1 min

In long division of \(1/n\), the remainder after \(j\) steps is \(b^j\bmod n\). If \(\gcd(b,n)=1\), the first return to remainder one occurs exactly at the multiplicative order of \(b\) as a unit.

\[\text{period of }1/n\text{ in base }b=\operatorname{ord}_{(\mathbb Z/n\mathbb Z)^\times}(b).\]

Computing a period from factors

For \(n=21\), \(10\) has order one modulo \(3\) and order six modulo \(7\). The base-ten expansion therefore repeats with period six. This calculation uses Chinese remaindering. When \(n\) contains factors supported on primes dividing \(b\), removing them produces an eventual period with an initial nonrepeating part.[1]

References

  1. Keith Conrad, Expository Papers on Number Theory and Algebra ↩