Repeating Decimals

The Basis for Cyclic Numbers

Most of you are already familiar with the repeating decimal digits of fractions like one third (1/3) or two thirds (2/3) which have these never ending strings of threes and sixes:

1 / 3 = 0.3333333333...   and   2 / 3 = 0.6666666666...

At some point (preferably before high school), a Math teacher should have explained the convention of placing a bar over repeating decimal digits, or possibly underlining them (when making a web page), for example:   1/6 = 0.1666 .   For electronic texts, its acceptable to merely bracket the repeating digits; such as: 1/6 = 0.166(6) .

Math teachers should never allow you to simply round-off  the digits to 0.167; unless you are specifically studying some method of doing so such as the use of Math in the sciences.

Note: In the sciences, where numbers often depend upon the accuracy of some measuring tool -- from a simple meter stick to the most advanced scientific instruments available, it's quite reasonable to agree that none of your results should ever be expressed with more digits than the number obtained from the least accurate tool used. For example, although 6.485 times 1.07 times 4.392 should be equal to 30.4758684 in a math class. In a science class, this would most likely be expressed as just 30.5; using a 'round-up' method, since the accuracy of the 1.07 measurement was only three digits.
      In a Mathematics class, however, you should never state that 1/6 = 0.167 (they are not equal). If a person feels its necessary not to include every digit in some result (due to limitations of space to record the digits or time to calculate all of them), I'd like to see that expressed with a sign of approximation (or at least a statement to that effect at the beginning of your paper). One way for doing this is to use a tilde mark (~) in place of the bars of the equal sign. Another is by placing a dot above the equal sign. You could also define some other way to show an approximate value in any of your own papers.

As you'll soon see below, it can sometimes be very difficult to determine the digits that repeat in the decimal expansion of a repeating fraction.

The first non-trivial (more than a single digit) repeating decimal fraction is that of one seventh:

1/7 = 0.142857142857 

Even the calculator program that came with Windows® 95 (with its 12 to 13 digit display) would give most people the idea that the same six digits might be repeating here all the time. But what's a person to do if the number of digits that comprise a repeating decimal fraction end up being 20, 30, 60 or even hundreds of digits?! This is why we must have some agreed upon notation for expressing an approximate number when that number must be written as a value with digits to the right of the decimal point
. (On a web page, one might use a single tilde mark, stating for example that 1/49 ~ 0.0212766 and read this as "approximately equal to," or state in full that the value is an approximation.)



The Decimal Equivalents
for All Fractions
From 1/2 through 1/66

Fraction   Exact Decimal Equivalent  or  Repeating Decimal Expansion
1 / 2   0.5
1 / 3   0.333333333333333333
1 / 4   0.25
1 / 5   0.2
1 / 6   0.166666666666666666         ( 1/2 times 1/3)
1 / 7   0.142857142857142857    (6 repeating digits)
1 / 8   0.125
1 / 9   0.111111111111111111
1 / 10   0.1
1 / 11   0.090909090909090909
1 / 12   0.083333333333333333
1 / 13   0.076923076923076923
1 / 14   0.07142857142857142857     ( 1/2 times 1/7)
1 / 15   0.066666666666666666
1 / 16   0.0625
1 / 17   0.0588235294117647   (16 digits)
1 / 18   0.055555555555555555
1 / 19   0.052631578947368421   (18 digits)
1 / 20   0.05
1 / 21   0.047619047619047619     (1/3 times 1/7)
1 / 22   0.0454545454545454545
1 / 23   0.0434782608695652173913   (22 digits)
1 / 24   0.041666666666666666
1 / 25   0.04
1 / 26   0.0384615384615384615     ( 1/2 times 1/13)
1 / 27   0.037037037037037037
1 / 28   0.03571428571428571428     ( 1/4 times 1/7)
1 / 29   0.0344827586206896551724137931  (28 digits)
1 / 30   0.033333333333333333
1 / 31   0.03225806451612903225806451612903
1 / 32   0.03125
1 / 33   0.030303030303030303
1 / 34   0.029411764705882352941176470588235
1 / 35   0.0285714285714285714     ( 1/5 times 1/7)
1 / 36   0.027777777777777777
1 / 37   0.027027027027027027
1 / 38   0.0263157894736842105263157894736842105
1 / 39   0.025641025641025641       (1/3 times 1/13)
1 / 40   0.025
1 / 41   0.024390243902439     (Only 5 repeating digits!)
1 / 42   0.0238095238095238095     ( 1/6 times 1/7)
1 / 43   0.023255813953488372093     (21 digits)
1 / 44   0.022727272727272727
1 / 45   0.022222222222222222
1 / 46   0.02173913043478260869565      ( 1/2 times 1/23)
1 / 47   0.0212765957446808510638297872340425531914893617
                             (46 digits)
1 / 48   0.020833333333333333
1 / 49

  0.020408163265306122448979591836734693877551
(Strange: only 42 digits)         ( 1/7 times 1/7)

Not to mention these unexpected strings of digits:
02, 04, 06, 08 ; then 16, 32 ... but breaks at 653 (no 64); yet picks up again with:
06, 12, 24, 48 ... and breaks again with 9795 (instead of 96) ... only to see a 9,
18 and 36 follow, but then a 73 (not 72)
! Any ideas?

1 / 50   0.02
1 / 51   0.01960784313725490196078431372549 (16 digits)
1 / 52   0.01923076923076923076       ( 1/4 times 1/13)
1 / 53   0.01886792452830188679245283     (13 digits)
1 / 54   0.0185185185185185185
1 / 55   0.0181818181818181818
1 / 56   0.017857142857142857142       ( 1/8 times 1/7)
1 / 57   0.017543859649122807017543859649122807   (18 digits)
1 / 58   0.01724137931034482758620689655
1 / 59   0.0169491525423728813559322033898305084745762711864406779661
    (58 digits)
1 / 60   0.016666666666666666
1 / 61   0.016393442622950819672131147540983606557377049180327868852459
    (60 digits)
1 / 62   0.0161290322580645161290322580645   ( 1/2 times 1/31)
1 / 63   0.015873015873015873           ( 1/9 times 1/7)
1 / 64   0.015625
1 / 65   0.0153846153846153846          ( 1/5 times 1/13)
1 / 66   0.0151515151515151515          ( 1/2 times 1/33)

 

General Rule of Exact Decimal Equivalents

Observations on Repeating Decimals

This number, 142857, is the first and most famous of a group in the Cyclic Number Sequence, since it's comprised of only 6 digits; easily memorized, and follows a simple rotation pattern in its multiples:

Cyclic Number:
142857
Shift
x 2 =
285714
+ 2
x 3 =
428571
+ 1
x 4 =
571428
- 2
x 5 =
714285
- 1
x 6 =
857142
+ 3
x 7 =
999999
N/A

Multiplying 142857 by 8, 9, etc., leads to some interesting results as well:

x 8 =
1142856
6 + 1 = 7; so pattern is still like 14285(7).
x 9 =
1285713
3 + 1 = 4; so pattern is still like 28571(4).
x 10 =
1428570
0 + 1 = 1; so pattern is like our 42857(1).
x 11 =
1571427
7 + 1 = 8; so pattern is still like 57142(8).
x 12 =
1714284
4 + 1 = 5; so pattern is still like 71428(5).
x 13 =
1857141
1 + 1 = 2; so pattern is still like 85714(2).
x 14 =
1999998
8 + 1 = 9; obviously like the 999999 above.
x 15 =
2142855
5 + 2 = 7; so pattern is still like 14285(7).
x 16 =
2285712
2 + 2 = 4; so pattern is still like 28571(4).
x 17 =
2428569
This seems to be a problem at first! But we
can still find some order here and arrive at
a familiar pattern similar to 142857, by first
postulating that the 9 + 2 = 11; which is then
separated into two ones, as: 1 and then
6 + 1 = 7; so giving us: (1)4285(7). Some
number theorists might enjoy seeing this?!
x 18 =
2571426
6 + 2 = 8; so pattern is still like 57142(8).
x 19 =
2714283
3 + 2 = 5; so pattern is still like 71428(5).
x 20 =
2857140
0 + 2 = 2; so pattern is still like 85714(2).
x 21 =
2999997
7 + 2 = 9; obviously like the 999999 above.
x 22 =
3142854
4 + 3 = 7; so pattern is still like 14285(7).

Hmm... how far can we extend this? Well, each time we hit a multiple of 7 (14, 21, 28, etc.), we should get something like '999999', but let's check that multiple + 1 (or  29, 36, 43, etc.) for the same patterns we observed above (in rows x 8, x 15 and x 22):

4142853 [x 29; nothing new here; 3 + 4 = 7; so still like 14285(7).]
5142852 [x 36; nothing new here; 2 + 5 = 7; so still like 14285(7).]
6142851 [x 43; nothing new here; 1 + 6 = 7; so still like 14285(7).]
7142850 [x 50; nothing new here; 0 + 7 = 7; so still like 14285(7).]
8142849 [x 57; now we must change 9 + 8 = 17 into a 1 and a 7 to give us: 1428(4+1=5)(7).]
9142848 [x 64; again, this requires 8 + 9 = 17 to be a 1 and a 7 to give us: 1428(4+1=5)(7).].]

We can also see that a definite pattern has emerged in the multiples themselves: Note the sequentially increasing and decreasing digits at both the beginning and end of each new multiple! This is true for every 7th multiple you compare. When we mutiply 142857 by 71, we get: 10142847 which does resemble our pattern once we steal a 1 from the '7' to arrive at 1428(4+1=5)(6+1+0=7). Is there a multiplier that produces a result so different, that our original cyclic number is completely lost in the digital fuzz? Let's try 7 to the 4th, 5th and 6th powers, plus 1, as multipliers:

343142514 [x (7^4)+1 = 2,402; maybe "142" is part of the original, but it's quite fuzzy. However, I can still use my intuition(?) and imagine that '5' + '1' + 2 (of the '4') = 8, leaving 2 + '3' = 5 and 4 + 3 = 7 for 142(8)(5)(7).]
2401140456 [x (7^5)+1 = 16,808; here we can only guess "14" is what's left of our original pattern! I'm not even going to bother imagining how to get back to it from here!]
16807126050 [x (7^6)+1 = 117,650; I think that's sufficiently fuzzy! And using (7^7)+1, gives us a result of: 117648882351 in which it's impossible to even guess at the starting '1' for our original pattern.].

 

The next few cyclic numbers, however, not only contain increasingly longer strings of 16, 18, 22, etc. digits, but each of them begin with a leading zero:

0588235294117647 (16 digits; see 1/17 in table above)
052631578947368421 (18 digits; see 1/19 in table above)
0434782608695652173913 (22 digits; see 1/23 in table above)

Likewise, the multiples of the these numbers have increasingly difficult patterns of rotations to determine! For example, some of the rotations of the next two cyclic numbers are:

Cyclic Number:
0588235294117647
Shift
052631578947368421
Shift
x 2 =
1176470588235294
- 6
105263157894736842
- 1
x 3 =
1764705882352941
- 5
157894736842105263
+ 5
x 4 =
2352941176470588
+ 4
210526315789473684
- 2
x 5 =
2941176470588235
+ 7
263157894736842105
+ 2
x 6 =
3529411764705882
+ 5
315789473684210526
+ 4
x 7 =
4117647058823529
- 7
368421052631578947
- 6
x 8 =
4705882352941176
- 2
421052631578947368
- 3
x 9 =
5294117647058823
+ 6
473684210526315789
- 8

So few people ever study more than the first cyclic number of 142857.

 

For Further reading:

Cyclic Nubers

Recurring (or Repeating) Decimals


Since you've made it this far, I'm going to tell you where to find a FREE Windows Calculator that can compute (and copy into the clipboard buffer) as many as 10,000 decimal places!!! It defaults to 500 digits which should be quite sufficient for any repeating decimals you'll ever study! Take this offsite link: http://www.wordsmith.demon.co.uk/downloads/ to get a copy of the MIRACL Calc multi-precision calculator by Geoff Wilkins.

NOTE: Do not trust at least the last 5 to 10 digits of the number Pi (3.14159265...) from this calculator, nor possibly of any other value you calculate with it. It's always a good idea to carry out a calculation to many digits beyond what you'll actually use, since the digits at the end may be incorrect! And because it produces 500 to 10,000 digits (depending on how you set it up), you can easily afford to forget about the last 10 or so digits!


Last Update: October 6, 2007 (2007.10.06)

The Starman's Math Index