We see that the fractional part of is 0.333... It repeats after one digit. Let us say that has "period" one. We can also say that has "period' six. Which of the following has the longest "period'?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Fermat's little theorem states that if a is not divisible by p , then a p − 1 ≡ 1 ( m o d p ) . The period, k of a fraction, q 1 , can be modeled as 1 0 k ≡ 1 ( m o d q ) . This means that we are looking for a number k , such that 1 0 k ≡ 1 ( m o d q ) . Applying Fermat's little theorem and noticing that 10 is coprime to all of these denominators, we obtain that k is 1 less than each of the denominators. Thus k is the biggest for the fraction 2 3 1