|
Every rational number
, where and are positive integers, has an endless periodic decimal expansion (or decadic expansion -- according to Greek). The decimal expansion of
means the series presentation
 |
(1) |
where
is the integer part of
and the integers are the remainders of
when divided by 10; thus
.
We may suppose that and are coprime (if necessary, reduce the fraction). Then the length of the period depends only on the denominator . In the case that
, the period length is the least positive integer such that
(the period length does not change if we multiply the fraction by a suitable power of 10 and then reduce all prime factors of 10 from the denominator). In every case, the period length is a factor of the number
, where is Euler's totient function.
Examples
(one-digit periods; N.B. two possibilities),
(one-digit per.),
(three-digit per.),
(five-digit per.),
(hundred-digit per.)
The tail of infinitely many 0's (as in 0.125000...) is of course usually not written out. Such a tail is possible only when has no other prime factors except prime factors of the base of the digit system in question.
If the tails of 0's are not accepted, then the digital expansion of every positive rational is unique (then e.g. 0.124999...is the only expansion for
in the decimal system).
Completely similar results concern the digital expansions in any other positional digit system. Let the fraction
be an example (
); its presentation is
in the decadic (decimal) digit system
(15-digit per.),
in the hexadic (senary) digit system
(6-digit per.),
in the dyadic (binary) digit system
(5-digit per.).
Note. Also any irrational number has a unique decimal expansion, but it is non-periodic; for example Liouville's number
which is transcendental over
.
|