Prove that any number of the form pq, where p and q are prime numbers greater than 2, can be written as the difference of two squares in exactly two distinct ways.

If we want to prove it, we need to prove every odd number can be expressed as the difference of two squares, which is very easy.

Suppose this odd number to be 2n-1, then we can see 2n-1=n2-(n-1)2

Then we let pq=a2-b2=(a-b)(a+b).Then we can see either p=a-b & q=a+b or 1=a-b & pq=a+b, which are two different forms of squares.

Answered by Shibo L. STEP tutor

7043 Views

See similar STEP University tutors

Related STEP University answers

All answers ▸

Show that i^i = e^(-pi/2).


Show that substituting y = xv, where v is a function of x, in the differential equation "xy(dy/dx) + y^2 − 2x^2 = 0" (with x is not equal to 0) leads to the differential equation "xv(dv/dx) + 2v^2 − 2 = 0"


By use of calculus, show that x − ln(1 + x) is positive for all positive x.


STEP 2 - 2018, Q6i): Find all pairs of positive integers (n, p), where p is a prime number, that satisfy n! + 5 = p .


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences