Find Perfect Square: Prime p & q Values

  • Thread starter Thread starter Euler_Euclid
  • Start date Start date
AI Thread Summary
The discussion revolves around finding prime numbers p and q such that the expression p^2 + q^2 + 7pq is a perfect square. It is established that when p equals q, the expression simplifies to a perfect square. The analysis shows that both p and q must be odd primes, leading to the equation 5pq = (k - p - q)(k + p + q). Through this, the only valid solutions identified are (p, p), (3, 11), and (11, 3). The importance of parity analysis in number theory is emphasized as a useful strategy for solving such problems.
Euler_Euclid
Messages
10
Reaction score
0
Find all values of p and q if p and q are prime numbers, p^2 + q^2 + 7pq is a perfect square.
 
Mathematics news on Phys.org
(p, p), (3, 11), (11, 3) all work. I'd suggest trying the equation mod 4 or 36 to see if you can rule out others.
 
please explain the whole solution. It was an Olympiad question and all of my friends couldn't do it.
 
p^2 + 7pq + q^2

For p = q, it reduces to 9p^2 = (3p)^2. It therefore is a perfect square.

You can put p = 2 and show that only q = 2 gives a feasible solution, which is covered in p = q. Thus, we conclude that p,q are both odd, and hence the value of the expression is odd

For other values

<br /> p^2 + 7pq + q^2 = (p+q)^2 + 5pq = k^2
<br /> 5pq = k^2 - (p+q)^2 = (k - p - q)(k + p + q)<br />
Thus, since p and q are primes, the only possible solutions are

<br /> 1.k-p-q = 5, k+p+q = pq<br />

From the above equations we get k = 5+p+q and hence
<br /> 5+2p+2q = pq<br /> =&gt; 5 + 2q = p(q-2)<br /> =&gt; p = \frac{2q+5}{q-2} = 2 + \frac{9}{q - 2}
<br /> =&gt; q - 2 = 1, 3, or 9<br />

This gives (p,q) = (11,3) or (5,5) or (3,11)

The other possibilites are

<br /> 2. k-p-q = 5p, k+p+q = q(no solution)
<br /> 3. k+p+q = 5, k-p-q = pq(no solution)
<br /> 4. k+p+q = 5p, k-p-q = q(gives p = q)

Thus, the only possible solutions are (p,p), (3,11) and (11,3)
 
Nice solution praharmitra. I saw the decomposition as well but didn't complete the solution since I didn't analyze the small cases at first. I have to remember that even/odd parity analysis is always a good first step in number theory equations.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

Replies
1
Views
1K
Replies
4
Views
1K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Replies
2
Views
2K
Back
Top