wu :: forums
« wu :: forums - prime or square of prime number »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 1:39pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   putnam exam (pure math)
(Moderators: Eigenray, SMQ, william wu, towr, Grimbal, Icarus)
   prime or square of prime number
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: prime or square of prime number  (Read 1171 times)
inexorable
Full Member
***





   


Posts: 211
prime or square of prime number  
« on: Oct 19th, 2005, 6:27am »
Quote Quote Modify Modify

Let a be an odd positive integer and suppose that the equation (x^2)-(y^2) = a has exactly
one solution in positive integers x and y. Prove that either a is a prime number or it
is the square of a prime number.
IP Logged
Obob
Senior Riddler
****





   


Gender: male
Posts: 489
Re: prime or square of prime number  
« Reply #1 on: Oct 19th, 2005, 7:28am »
Quote Quote Modify Modify

Suppose that a is neither prime nor the square of a prime.  Then there are distinct integers m, n >1  such that a=mn.  Since a is odd, so are m and n.  Therefore there are integers x and y such that m=x+y and n=x-y; namely take x=(m+n)/2 and y=m-(m+n)/2.  Then (x-y)(x+y)=x^2-y^2=mn=a.  However, there are also integers x and y such that mn=x+y and 1=x-y; this time take x=(mn+1)/2 and y=mn-(mn+1)/2.  Note that these two solutions are unique, for if (m+n)/2=(mn+1)/2 then m+n=mn+1, so m(1-n)=1-n, forcing either m or n to be 1, a contradiction.  Thus a must be prime or the square of a prime.
 
Note that this breaks down if m=n since then we picked y=0, which was not allowed.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board