10170

# Quotients and Remainders Wheel

Take the fraction 1/7 as an example. Do long division:
The digits 1, 4, 2, 8, 5, 7 are the quotients (inner ring) and 3, 2, 6, 4, 5, 1 are the remainders (outer ring). Notice that and .
In general, let be the denominator of a fraction. If is prime and the multiplicative order of is even, then this fraction has the property that the digits of its decimal expansion repeat in cycles. The length of the period is equal to the smallest integer such that . In the particular case that 10 is a primitive root of this prime, the length of the cycle is .
Also, because there are an even number of them, the digits can be divided into two halves. The digits of the decimal expansion can be regarded as quotients arising from the long division algorithm. The remainders in the long division appear in cycles too, then. Arranging the digits of the fraction with the remainders in two circles, diametrically opposite directions sum to 9 in the inner ring and to the denominator in the outer ring. The first digit is at the top and the digits are arranged clockwise, as indicated by the black arrow.

### DETAILS

Snapshot 1: in the case of fractions of the form , the decimal digits of 1/7 appear cyclically
Snapshot 2: with the denominator 49, if is prime to 49, all fractions have the same cyclic arrangement of their digits; there are 42 such fractions and each has 42 digits in its period
Snapshot 3 and 4: other examples with long period and different selected digits
Snapshot 5: the longest period for a denominator less than 100

### PERMANENT CITATION

 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

#### Related Topics

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.