Thread Closed

Find the values:

 
Share Thread
Sep8-08, 09:21 AM   #1
 

Find the values:


Find all values of p and q if p and q are prime numbers, [tex]p^2 + q^2 + 7pq[/tex] is a perfect square.
PhysOrg.com mathematics news on PhysOrg.com

>> Pendulum swings back on 350-year-old mathematical mystery
>> Bayesian statistics theorem holds its own - but use with caution
>> Math technique de-clutters cancer-cell data, revealing tumor evolution, treatment leads
Sep8-08, 09:33 AM   #2
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
(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.
Sep8-08, 09:36 AM   #3
 
please explain the whole solution. It was an Olympiad question and all of my friends couldn't do it.
Sep8-08, 10:47 PM   #4
 

Find the values:


[tex]p^2 + 7pq + q^2[/tex]

For p = q, it reduces to [tex]9p^2 = (3p)^2[/tex]. 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

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

[tex]
1.k-p-q = 5, k+p+q = pq
[/tex]

From the above equations we get k = 5+p+q and hence
[tex]
5+2p+2q = pq
=> 5 + 2q = p(q-2)
=> p = \frac{2q+5}{q-2} = 2 + \frac{9}{q - 2} [/tex]
[tex]
=> q - 2 = 1, 3, or 9
[/tex]

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

The other possibilites are

[tex]
2. k-p-q = 5p, k+p+q = q [/tex](no solution)
[tex]
3. k+p+q = 5, k-p-q = pq [/tex](no solution)
[tex]
4. k+p+q = 5p, k-p-q = q [/tex](gives p = q)

Thus, the only possible solutions are (p,p), (3,11) and (11,3)
Sep9-08, 02:42 PM   #5
 
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 Closed

Similar discussions for: Find the values:
Thread Forum Replies
Equation : find values Precalculus Mathematics Homework 3
How to Find E°cell Values Chemistry 3
How can you find two different values for sin^-1(0.750)? Precalculus Mathematics Homework 6
Given values, find derivatives Calculus & Beyond Homework 2
find the values of a, b and c Introductory Physics Homework 8