Suppose we write the infinite decimal expansion for for any natural number such that it is non-terminating. For example can be expressed as as its infinite decimal expansion.
Denote as the highest power of that divides . Determine the length of the non-periodic part of the infinite decimal expansion of .
Details and Assumptions
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let n = 2 a × 5 b × m , where g cd ( 2 , m ) = 1 and g cd ( 5 , m ) = 1 .
Case 1: a > b
n 1 = 2 a × 5 b × m 1 = 2 a × 5 b × m × m 5 a − b 1 × m 5 a − b = 1 0 a m 5 a − b
In this case, a represents the length of the non-repeating part of the decimal expansion. When m 5 a − b is written as a mixed number, the whole number part of that mixed number will represent the non-repeating digits in the decimal expansion.
As an explicit example, let n = 1 2 0 . We can re-write this as n = 2 3 × 5 1 × 3 . We can then re-write n 1 = 1 0 0 0 3 2 5 = 1 0 0 0 8 3 1 . The whole number part of the numerator, 8 , is the non-repeating part of the decimal expansion. Since the denominator is 1 0 3 , this non-repeating part is 3 digits long: 0 0 8 . We can see this is true from the decimal expansion of 1 2 0 1 : 0 . 0 0 8 3 .
Case 2: a < b
n 1 = 2 a × 5 b × m 1 = 2 a × 5 b × m × m 2 b − a 1 × m 2 b − a = 1 0 b m 2 b − a
Similarly to Case 1, b represents the length of the non-repeating part of the decimal expansion. When m 2 b − a is written as a mixed number, the whole number part of that mixed number will represent the non-repeating digits in the decimal expansion.
As an explicit example, let n = 4 3 7 5 = 2 0 × 5 4 × 7 . We can re-write 4 3 7 5 1 = 1 0 0 0 0 7 1 6 = 1 0 0 0 0 2 7 2 . The non-repeating part of the decimal is represented by the whole number part of the numerator, 2 . The denominator is 1 0 4 , so the non-repeating part is 4 digits long. We can see this is true from the decimal expansion of 4 3 7 5 1 : 0 . 0 0 0 2 2 8 5 7 1 4 .
Case 3: a = b
n 1 = 2 a × 5 b × m 1 = 1 0 a × m 1 = 1 0 a × m × m 1 1 × m 1 = 1 0 a m 1
In this case, the non-repeating part of the decimal expansion is composed entirely of 0 s, and its length is a .
It can be shown from these cases that the length of the non-repeating part of the decimal expansion of n 1 is max ( a , b ) .