Multiply by and you get , the same six digits in the same circular order, read from a different starting point. Multiplying by , , and does the same, and multiplying by gives . Why would multiplication only move the starting point around a circle? This page follows the long division of by , shows that its remainders run through a loop of all six nonzero values, and explains how that loop produces the rotations and why many repeating decimals do not behave this way.
Key terms
Cyclic number
Definition A cyclic number is a positive whole number, written with digits for some (a leading zero is allowed), such that multiplying it by each of gives a product whose digits are a rotation of its own digits. A rotation keeps the digits in the same circular order and starts reading them at another place, as read from the gives . The number is a cyclic number with six digits, and its seventh multiple is , which is not a rotation. The explanation is that is the repeating block of , and for the product is the repeating block of . The long division of each runs around the same loop of remainders as the division of by , entering it at remainder , so every block is the same six digits read from a different place.
In plain words Put the six digits of on a circle. Multiplying by any of to only changes where you start reading, because the products are the repeating blocks of through , and all six blocks come from one loop of long division.
Example The table lists each product and the digit of the circle where its reading starts.
| Multiplier | Product | Reading starts at |
|---|---|---|
| not a rotation |
Beyond the products have seven digits, for example , so the rotations belong to the multipliers to only.
Long division
Definition Long division finds the decimal digits of a fraction , with whole numbers , one digit at a time. The first remainder is . At each step, ten times the current remainder is divided by , which gives a quotient and a new remainder with
The quotient is the next decimal digit, and it is a whole number from to because . The new remainder starts the next step. If a remainder is , every later digit is and the decimal ends.
In plain words Each step asks how many times fits into ten times what is left over. The answer is the next digit, and whatever is left over again is carried into the next step.
Example For the six steps are
| Remainder | Ten times it | Digit | New remainder |
|---|---|---|---|
The digits come out in the order , and the last new remainder is , the remainder the division started with. So the same six steps happen again and again, and
Remainder cycle
Definition In the long division of by , with , each remainder is one of the whole numbers , and it alone decides the next digit and the next remainder. There are only possible remainders, so among the first remainders some value appears twice, and from its first appearance on, the same remainders and digits repeat forever in the same order. That repeating loop of remainders is the remainder cycle. When has no factor or , two different remainders never lead to the same next remainder and no remainder is ever , so the loop closes at the starting remainder and the decimal repeats from its first digit. Two fractions with denominator whose starting remainders lie on the same cycle have repeating blocks that are rotations of each other.
In plain words The remainder is the entire memory of a long division. When an old remainder comes back, the division has no choice but to repeat everything that followed it the first time.
Example For the remainders run
a loop through all six nonzero remainders below . The division of by starts at remainder , which is already on this loop, so it produces the digits that followed remainder in the division of by ,
That block is . Every with from to starts somewhere on the same loop, which is why all six blocks are rotations of .
Period of a repeating decimal
Definition A decimal repeats if, from some digit on, one block of digits repeats forever, and its period is the number of digits in the shortest such block. A bar over the block marks it, as in , which has period . The decimal of every fraction of whole numbers either ends or repeats. Let be a fraction in lowest terms with , where has no factor or . Then the decimal repeats from the first digit after the point, and its period is the smallest whole number for which divides . With the block written as a -digit whole number , leading zeros included,
The period is at most , because the loop holds only nonzero remainders, and it equals only when is a prime.
In plain words The period counts how many digits pass before the decimal starts over. Multiplying by moves one whole block in front of the decimal point, and subtracting the original number removes the endless tail.
Example Let . Moving the point six places gives
so and . None of , , , and is divisible by , while , so the period of is , the largest possible for the denominator . Many denominators fall short of the largest possible period. The decimal has period , the decimal has period , and the decimal has period , half of the largest possible .
Check yourself
- Use the remainder loop of to write as a decimal without dividing again, and compare the result with .
Show the answer
The division of by starts at remainder . In the division of by , remainder produced the digit , since , and led back to remainder , after which the digits were . So
and indeed , the six digits of read from the .
- Change the denominator to . The long division gives . Is a cyclic number?
Show the answer
No. The remainders of run and then return to , so this loop holds only six of the twelve nonzero remainders. The product is not a rotation of , so the number fails already at the multiplier . The division of by starts at remainder , which lies on a second loop , and it gives .
All twelve multipliers follow the same pattern. Multiplying by , , , , or , the remainders on the first loop, gives rotations of , while multiplying by , , , , or gives rotations of , and . In general, for a denominator with no factor or , a multiple of the block of , with from to , is a rotation of exactly when the remainder lies on the loop of . Every multiplier from to gives a rotation only when that loop contains every nonzero remainder, which happens for but not for .
- Extend the pattern to . The long division of by has period and the block . What should happen when this block is multiplied by to , and by ?
Show the answer
A period of means that the remainder loop of holds different remainders. The only nonzero remainders below are to , so the loop contains all of them. Each with from to therefore enters the same loop, and its block is a rotation of .
Write for this block. Then , and is less than for , so , written with digits, is exactly the block of . Every product from to is therefore a rotation of . For example, , which is read from its first . Multiplying by gives
which is written as sixteen nines. So is a cyclic number with digits, as long as its leading zero is kept. The same reasoning works for every prime for which has period , such as , , and .