Math Fun Facts!
hosted by the Harvey Mudd College Math Department created, authored and ©1999-2010 by Francis Su
Subscribe to our RSS feed   or follow us on Twitter.
Get a random Fun Fact!
or
No subject limitations
Search only in selected subjects
    Algebra
    Calculus or Analysis
    Combinatorics
    Geometry
    Number Theory
    Probability
    Topology
    Other subjects
  Select Difficulty  
Enter keywords 

  The Math Fun Facts App!
 
  List All : List Recent : List Popular
  About Math Fun Facts / How to Use
  Contributors / Fun Facts Home
© 1999-2010 by Francis Edward Su
All rights reserved.

From the Fun Fact files, here is a Fun Fact at the Easy level:

Repeating Digits

You already know that the decimal expansion of a rational number eventually repeats or terminates (which can be viewed as a repeating 0).

But I tell you something that perhaps you did not know: if the denominator of that rational number is not divisible by 3, then the repeating part of its decimal expansion is an integer divisible by nine!

Example:

  • 1/7 = .142857142857... has repeating part 142857. This is divisible by 9.
  • 41/55 = .7454545... has repeating part 45. This is divisible by 9.

The Math Behind the Fact:
This rather curious fact can be shown easily. If the rational X is purely repeating of period P and repeating part R, then


R = 10P X - X = (10P-1) X = (10P-1) (m/n).

Thus R*n = (10P-1)*m is an integer. Since (10P-1) is divisible by 9, if n is not divisible by 3, then R must be. If you like these fun deductions, you may enjoy a course in number theory!

How to Cite this Page:
Su, Francis E., et al. "Repeating Digits." Math Fun Facts. <http://www.math.hmc.edu/funfacts>.

Subjects:    number theory
Level:    Easy
Fun Fact suggested by:   Arthur Benjamin
Suggestions? Use this form.
4.07
 
current
rating
Click to rate this Fun Fact...
    *   Awesome! I totally dig it!
    *   Fun enough to tell a friend!
    *   Mildly interesting
    *   Not really noteworthy
and see the most popular Facts!
New: get the MathFeed iPhone App!

Brings you news and views on math:
showcasing its power, beauty, and humanity

Want another Math Fun Fact?

For more fun, tour the Mathematics Department at Harvey Mudd College!