Find the sum of all primes P such that the decimal expansion of P 1 has a fundamental period 5 .
Details and Assumptions:
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.
( a , b , c , d , e , p ) = ( 3 , 3 , 3 , 3 , 3 , 3 ) also works. There are no constraints on a , b , c , d , e other than that they're integers in [ 0 , 9 ] , so 3 + 4 1 + 2 7 1 = 3 1 5 is the answer.
Log in to reply
Those who answered 315 have been marked correct. The problem has been edited and the correct answer is now 312.
Shouldn't p. abcde = 9999(4 nines (10^5-1))
the simplest way to solve: notice that 1/p = 0.abcdeabcde.... wher p is a prime 10^5 / p = abcde.abcdeabcde.... => 10^5 - 1/p = abcde So p | 99999 now test p = 3,41,271 ; 41,271 works => 271 + 41 = 312 is the answer
Problem Loading...
Note Loading...
Set Loading...
Let P be prime so:
If P 1 = 0 . a ⟹ 9 = a . p ⟹ p = 3
If P 1 = 0 . a b ⟹ 9 9 = a b . p ⟹ p = 1 1
If P 1 = 0 . a b c ⟹ 9 9 9 = a b c . p ⟹ p = 3 7
If P 1 = 0 . a b c d ⟹ 9 9 9 9 = a b c d . p ⟹ p = 1 0 1
If P 1 = 0 . a b c d e ⟹ 9 9 9 9 9 = a b c d e . p ⟹ p = 4 1 , o r , p = 2 7 1
So the answers are 2 7 1 , 4 1