Alex Petty
Petty’s Notebook

Remainder explorer

Start with a remainder of 1 and divide in base ten by 7. The next remainder is 3. Six steps bring you back to 1 and the digits begin again. Try a different starting point, then change the denominator.

Selected cycleCurrent step

Step 1 of 6

Remainder 1 to 3

10 × 1 = 1 × 7 + 3

The next digit is 1. Carry 3 into the next division.

Decimal expansion of 1/7

0.142857

Follow the cycle

All six nonzero remainders lie on one cycle. The zero remainder stays at zero.

Long division steps in the selected orbit
StepRemainderDigitNext remainder
1113
2342
3226
4684
5455
6571

Related preprint

The Collision Invariant

Once you have a full cycle, write the digits down twice. Slide one copy along and count the matches. That count is the subject of this paper.

Read the paper