You are not logged in.
Pages: 1
Find all pairs of positive integers
such that
is a primeand
is a perfect squareOffline
All the pairs are generated as follows:
Choose an odd prime, p. Then set a = [(p+1)/2]² and b = [(p-1)/2]².
p is odd, which means p+1 and p-1 are both even. Then dividing them by two leaves integers, and so a and b are both perfect squares. Hence, ab is also a perfect square.
Now, a-b = [(p+1)/2]² - [(p-1)/2]² = [(p² + 2p + 1) - (p² - 2p + 1)]/4 = 4p/4 = p, which was chosen to be prime.
Hence, these values of a and b fit the conditions.
Furthermore, no other pairs exist. For two positive integers to multiply to give a square, they must be of the form a = xy², b = xz². Then you get ab = x²y²z² = (xyz)².
Then a-b = x(y² - z²) = x(y+z)(y-z).
For a-b to be prime, at least two of x, y+z and y-z must equal 1 and the other must be prime.
y+z has a minimum value of 2, which restricts the others to equal one.
Therefore, a and b must themselves be perfect squares and have consecutive square roots. With these restrictions, pairs can be made only using the method above.
Why did the vector cross the road?
It wanted to be normal.
Offline
Impressive work.. mathsyperson!
I'd please like to know "what logic did you apply to start with"??
If two or more thoughts intersect, there has to be a point!
Offline
Thanks!
I kind of worked it out backwards to the way I wrote it there. I started with a = xy² and b = xz² and found what restrictions needed to be placed on x, y, z, then used that to come up with the first part.
Why did the vector cross the road?
It wanted to be normal.
Offline
Pages: 1