Proof about 2 numbers being relatively prime.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
cragar
Messages
2,546
Reaction score
3

Homework Statement


Prove that their are an infinite amount of primes by observing that in the series
[itex]2^2+1, 2^{2^2}+1,2^{2^3}+1,2^{2^4}+1,...[/itex]
every 2 numbers are relatively prime.

The Attempt at a Solution


I was going to take 2 of the numbers in the series and look at their difference because if they have common factors then it should divide their difference, but then I am not sure how this will work.
or maybe I should look at these numbers mod2 or something, well I guess mod2 these all equal 1.
 
Physics news on Phys.org
cragar said:
I was going to take 2 of the numbers in the series and look at their difference
Seems a good start. Suppose p divides each, so it divide the difference. Can you then discard a factor of the difference and deduce that p divides the remaining factor?
 
If I look at [itex]2^4+1-(2^2+1)=2^4-2^2=2^2(2^2-1)[/itex] we know that
[itex]2^2+1[/itex] and [itex]2^2-1[/itex] are relatively prime because they are an odd number separated by a power of 2. But then I was trying to generalize this proof. where we have
[itex]2^x+1,2^y+1[/itex] x<y then [itex]2^y+1-2^x-1=2^x(2^{y-x}-1[/itex] I guess I could make a similar argument that [itex]2^{y-x}-1[/itex] and [itex]2^x+1[/itex] are relatively prime.
 
cragar said:
[itex]2^y+1-2^x-1=2^x(2^{y-x}-1[/itex] I guess I could make a similar argument that [itex]2^{y-x}-1[/itex] and [itex]2^x+1[/itex] are relatively prime.
I don't think that argument will work.
As I said, suppose p divides 22x+1 and 22y+1, so it follows that p divides 22y-2x-1. Can you now construct more numbers it must divide?
 
These numbers are called Fermat numbers. Define F(n)=2^(2^n)+1. Then if you can show the recursion relation F(n)=F(n-1)F(n-2)...F(1)F(0)+2, you are pretty much home free. Try concentrating on proving that. That's the usual route. Start by writing down the most obvious relation between F(n) and F(n-1) that you can think of.
 
Last edited: