Primes and Squares

Find the sum of all primes p p such that 13 p + 4 13p + 4 is a square number


The answer is 17.

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.

5 solutions

Josh Rowley
Mar 3, 2014

Suppose that 13 p + 4 = x 2 13p + 4 = x^{2} . Then 13 p = ( x + 2 ) ( x 2 ) 13p = (x+2)(x-2) . One of the two brackets on the right hand side must be divisible by 13. We have 2 cases: Firstly, x + 2 = 13 m x+2 = 13m for some positive integer m m : 13 p = 13 m ( 13 m 4 ) 13p=13m(13m-4) p = m ( 13 m 4 ) p = m(13m-4) 13 m 4 > m 13m - 4 > m so this can only be possible if m = 1 m = 1 , but that would mean that p = 9 p = 9 which is not prime

Now we must consider the other case, x 2 = 13 n x-2 = 13n for some positive integer n n : 13 p = 13 n ( 13 n + 4 ) 13p=13n(13n+4) p = n ( 13 n + 4 ) p = n(13n+4) Again, this can only be the case if n = 1 n = 1 , meaning that p = 17 p = 17 which is indeed a solution. Therefore the only solution and thus sum of all solutions is 17 \fbox{17}

Using the Fundamental theorem of arithmetic , we can immediately conclude that, either x + 2 = 13 , x 2 = p x+2=13, x-2=p or, x + 2 = p , x 2 = 13 x+2=p, x-2=13 . Then we have the result that the only possible value of p p is 17 17 .

Abhishek Sinha - 7 years, 3 months ago

here 13p+4=a^2 which implies that 13p=(a+2)(a-2)..........Now (a+2) and (a-2) must be two distinct primes whose difference is 4. We know that 13 and 17 are only primes whose difference is 4. Hence the only possible value of p is 17 and consequently the required sum is 17.

Abhijit Ghosh - 7 years, 3 months ago

Brilliant! :)

Isaac Lu - 7 years, 3 months ago

cant 9 be the answer ? if we put x-2=p x+2=13 then p = 9

Saqlain Shoaib - 7 years, 2 months ago

Log in to reply

9 is not a prime number

Rahul Agrawal - 7 years, 2 months ago

Say 13 p + 4 = k 2 13p + 4 = k^{2} . Then 13 p = ( k + 2 ) ( k 2 ) 13p = (k + 2)(k - 2) . As p p is prime, we have four possible cases:

A ) A) . k + 2 = 13 p = 9 k + 2 = 13 \rightarrow p = 9 .

B ) B) . k 2 = 13 p = 17 k - 2 = 13 \rightarrow p = 17 .

C ) C) . k 2 = 1 p = 5 13 k - 2 = 1 \rightarrow p = \frac {5}{13} .

D ) D) . k + 2 = 1 p = 3 13 k + 2 = 1 \rightarrow p = \frac {-3}{13} .

Clearly we only have 17 \boxed{17} as the answer since it's the only prime number.

Vivek Singh
Mar 12, 2014

Let 13p + 4 = k2 Therefore, 13p = (k +2)(k – 2). Then, we are left with only two possible cases :

1). k +2 = 13, then p = 9

2). k – 2 = 13 then p= 17

Hence, in this only 17 is a prime number. Therefore sum = 17

y not k+2=1 and k-2=1 , are a possibility?

shivam sharma - 7 years, 3 months ago
Kenrick Antony
Mar 14, 2014

13p+4=K^2 =>13p=(k+2)(k-2) Let 13=(k+2)(a/b) Such that a & b are co-primes So p=(k-2)(b/a) =>b divides k+2 & a divides k-2 If p=k-2 & 13=k+2 or viceversa =>p=17 or p=9 But p must be a prime Hence p=17;

Paudel Ashish
Mar 13, 2014

by question..... 13p+4 = \n^2\ or, 13p=\n^2-4 or, p={(n-2)(n+2)}/13 since, n-2 and n+2 are integers, either n-2=13k or n+2= 13k where k is an integer.... however, since p is a prime number... either n-2=13 or n+2 =13. when we put n=11, we dont get a prime number whereas if we put 17, we do.... so 17 is the only possible solution.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...