S = { a 2 − b 2 ∣ a , b are positive integers }
How many values of S are prime?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I wonder if others would see the factorization ( a − b ) ( a + b ) and think that the numbers will have to be composite.
Log in to reply
In fact, I did that too but I realized in time that (a-b) may even be 1 and hence; a^2 - b^2 may not be composite.
Log in to reply
That's what led me to set this problem :)
Can you add that observation into the solution? It would help those who answered wrongly understand the mistake that they made.
Log in to reply
@Chung Kevin – IInteresting, i always start with looking at that identity. But when it comes to squares i get triggered by another fact. 2 following squares are an odd number apart. Since there are infinitely many odd primes, you can find infitely many pairs off following squares which are a prime apart.
Log in to reply
@Peter van der Linden – Ah yes. Here's a followup.
@Peter van der Linden – You know what; I had added the same thing as solution number 2 but somehow I thought that both the solutions were quite similar so I never clicked on the publish button.
Log in to reply
@Yatin Khanna – Well yours is more elegant and gives a way to find those pairs :)
I've edited the solution slightly. I think stressing "despite the fact" is slightly more important.
Also, note that the pairing only works for odd primes.
Problem Loading...
Note Loading...
Set Loading...
Despite the fact that a 2 − b 2 can be factorised as ( a + b ) ( a − b ) ; it does not ensure that a 2 − b 2 is composite due to the fact that a − b can take the value 1; and at the same time a + b can take the value of a prime.
This can be easily achieved. For any odd prime p ; we can form a pair of such variables.
a = 2 p − 1 + 1 , b = 2 p − 1
And since there are infinite primes; there are infinite pairs.