wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

If p, q, r are prime numbers such that p^2-q^2=r. Find all the possible ordered pairs.

Open in App
Solution

Dear student,
r=(p-q)(p+q)
so (p-q) and (p+q) are factors of r
But r is prime so it has only 2 factors ie 1 and r
As, r>1, So,
p-q=1. ————1
p+q=r. ————2
because p+q>p-q
Adding equation 1 and 2
2p=r+1
=>p=(r+1)/2
Putting p=(r+1)/2 in equation 2
q=r-[(r+1)/2)
=>q=(r-1)/2
So there are infinitely many solution as r is a prime number.
As, two is the only even prime no.
Thus, p and q will divisible by 2 for all for r except 2
Regards


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Types of Sets
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon