Repeating Decimals With Primes

A repeating decimal is a rational number that has periodic decimal expansion with some period k k . For example, 1679 2220 = 0.756 306 306 306 . . . \frac{1679}{2220}=0.756 \textcolor{#20A900}{306} \textcolor{#D61F06}{306} \textcolor{#20A900}{306} ... is a repeating decimal with period 3 3 because the repeating part 306 306 has length three.

p p is a prime number such that the decimal representation of the fraction 1 p \frac{1}{p} is a repeating decimal with period 5 5 . Find the sum of all possible values for p p .


The answer is 312.

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.

1 solution

X X
Oct 28, 2018

If n n is a positive integer smaller than 99999 99999 , then 1 p = 0. 00001 × n = n 99999 \frac1p=0.\overline{00001}\times n=\frac n{99999} .

So p p must be a divisor of 99999 = 3 2 × 41 × 271 99999=3^2\times41\times271 .

Possible p p s are 41 , 271 41,271 ( 3 3 has a period of 1), so 41 + 271 = 312 41+271=312

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...