Find the sum of all prime number(s) of p such that 1 7 p + 1 is a perfect square.
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.
Nice solution
You missed the case n − 1 = p , n + 1 = 1 7 , which of course doesn't work, since 1 5 isn't prime.
Log in to reply
Thanks; edit made. I shouldn't have dismissed that case without first mentioning it.
Log in to reply
You can simply say that 17p is a product of 2 numbers whose difference is 2. So the numbers can't be 17p and 1 because then p will not be an integer. So the two numbers are 17 and p. So p is either 15 or 19. 15 is composite so answer is 19.
I want to know on what basis have you considered p a prime number as in the question it is not mentioned that p is a prime number??? Please do reply as I want to know!!
Log in to reply
The question does actually ask for "all prime number(s) of p ". If we were asked for positive integers in general, there would be an infinite number of solutions. In this more general case, we would be looking again for n such that
1 7 n + 1 = m 2 ⟹ 1 7 n = m 2 − 1 = ( m − 1 ) ( m + 1 )
for some (positive) integer m . By letting m = 1 7 k + 1 for some positive integer k , our equation would then become
1 7 n = ( 1 7 k ) ( 1 7 k + 2 ) ⟹ n = k ( 1 7 k + 2 ) for some positive integer k .
This would give us an infinite number of possible values n such that 1 7 n + 1 is a perfect square, starting with 1 9 , 7 2 , 1 5 9 , . . . . .
We could also let m = 1 7 k + 1 6 , yielding the equation
1 7 n = ( m − 1 ) ( m + 1 ) = ( 1 7 k + 1 5 ) ( 1 7 k + 1 7 )
⟹ n = ( 1 7 k + 1 5 ) ( k + 1 ) = 1 7 k 2 + 3 2 k + 1 5 .
This gives us another infinite "family" of solutions, starting with 6 4 , 1 4 7 , 2 6 4 , . . . .
Yet from both of these "families" of solutions, 1 9 is still the only prime. :)
Log in to reply
oh ok I thought of that for a second but needed an evaluation thank you for clearing my confusion. :)
Problem Loading...
Note Loading...
Set Loading...
We require that 1 7 p + 1 = n 2 for some integer n and prime p . (Without loss of generality we can assume that n is positive.) The equation can be rewritten as
1 7 p = n 2 − 1 ⟹ 1 7 p = ( n − 1 ) ( n + 1 ) .
Now since both 1 7 and p are prime, by the Fundamental Theorem of Arithmetic we can either have
(i) n − 1 = 1 , n + 1 = 1 7 p ⟹ n = 2 , 1 7 p = 3 , which is not possible,
(ii) n − 1 = p , n + 1 = 1 7 ⟹ n = 1 6 , but then p = 1 5 is not prime, or
(iii) n − 1 = 1 7 , n + 1 = 1 9 ⟹ n = 1 8 and p = 1 9 , which is prime.
The only possible solution is thus p = 1 9 .