Let p and q be different primes greater than 2. Prove that pq can be written as difference of two squares in exactly two different ways.

Without loss of generality claim p > q.Now, we try to write pq in the form pq = a2-b2 where a and b are non-negative integers.If b = 0, then pq = a2. But p and q are different, so pq is not a square. So b>0Factorising, we get: pq = (a-b)(a+b) ()So a+b must divide pq. Since p and q are prime, we can write out the factors of pq: 1, p, q, pq. Now we try the possible choices:1) a+b = 1This is false since both a and b are greater than 02)a+b = qThen, substituting in (), we get that a-b = p. But we claimed p>q so a-b > a+b, which is false since b > 03)a+b = pSubstituting in () we get that a-b = q. Adding these 2 equations we get that a = (p+q)/2 and hence b = (p-q)/2So pq = [(p+q)/2]2 - [(p-q)/2]24) a+b = pqFrom () we get that a-b =1Adding these two we get that a = (pq+1)/2And consequently b = (pq-1)/2so pq = [(pq+1)/2]2-[(pq-1)/2]2Since these were all the possible cases, we conclude that pq can be written as difference of two squares in exactly 2 different ways.

TL
Answered by Theodor L. STEP tutor

2267 Views

See similar STEP University tutors

Related STEP University answers

All answers ▸

What is the largest positive integer that always divides n^5-n^3 for n a natural number.


Find 100 consecutive natural numbers, each of which is composite


Suppose that 3=2/x(1)=x(1)+(2/x(2))=x(2)+(2/x(3))=x(3)+(2/x(4))+...Guess an expression, in terms of n, for x(n). Then, by induction or otherwise, prove the correctness of your guess.


Differentiate: f(x)=(ax^2 + bx + c) ln(x + (1+x^2)^(1/2)) + (dx + e) (1 + x^2)^(1/2). Hence integrate i) ln(x + (1 + x^2)^(1/2)), ii) (1 + x^2)^(1/2), iii) x ln(x + (1 + x^2)^(1/2)).


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences