Prime squares

Find the number of ordered pairs of distinct positive primes p p , q q ( p q p \ne q ) such that p 2 + 7 p q + q 2 p^2 + 7pq + q^2 is the square of an integer.

This problem is shared by Diganta B.


The answer is 2.

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

Calvin Lin Staff
May 13, 2014

Let p p , q q be primes such that p 2 + 7 p q + q 2 = m 2 p^2 +7pq +q^2 = m^2 for some positive integer m m .

Then

5 p q = m 2 ( p + q ) 2 = ( m + p + q ) ( m p q ) . 5pq = m^2 - (p + q)^2 = (m + p + q)(m- p - q).

Then 5 5 , p , p, and q q divide the product on the right hand side of the equation. We can immediately rule out the possibilities m + p + q = p , q , 5 , 1 m+p+q = p, q, 5, 1 (the case = 5 =5 is ruled out since m > p m > p , m > q m > q and p p , q q are at least 2 2 ).

Consider the case m + p + q = 5 p m+p+q = 5p and m p q = q m-p-q = q . Eliminating m m , we obtain 2 ( p + q ) = 5 p q 2(p+q) = 5p - q , or p = q p = q .

Similarly, considering the case m + p + q = 5 q m + p + q = 5q and m p q = p m - p - q = p leads to p = q p = q .

Consider the case m + p + q = p q m+ p + q = pq and m p q = 5 m- p - q = 5 . Eliminating m m , we obtain 2 ( p + q ) = p q 5 2(p + q) = pq - 5 . This can be reduced to ( p 2 ) ( q 2 ) = 9 (p - 2)(q - 2) = 9 , with solutions p = q = 5 p = q = 5 or ( p , q ) = ( 3 , 11 ) , ( 11 , 3 ) (p, q) = (3, 11), (11, 3) .

Finally consider the case m + p + q = 5 p q m + p + q = 5pq and m p q = 1 m - p - q = 1 . Eliminating m m , we obtain 2 ( p + q ) = 5 p q 1 2(p+q) = 5pq - 1 . This can be reduced to ( 5 p 2 ) ( 5 q 2 ) = 9 (5p-2)(5q-2) = 9 , which gives p = q = 1 p = q = 1 , clearly not prime.

Thus, the set of solutions ( p , q ) (p,q ) with p q p \ne q is ( 3 , 11 ) , ( 11 , 3 ) . { (3, 11), (11, 3) }.

Note: This problem is taken from RMO/2001/2 .

Wow, seems really easy for RMO 2. Perhaps because it was similar to a recent problem of the day asking for p^2+pq+q^2=n^2

Jorge Fernández - 5 years, 11 months ago

Log in to reply

Experience leads to level up!

Calvin Lin Staff - 5 years, 11 months ago

Log in to reply

Oh wait nevermind, I confused RMO with RMM

Jorge Fernández - 5 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...