cragar
- 2,546
- 3
Homework Statement
Show that all fermat numbers are relatively prime.
The Attempt at a Solution
If they share common factors then it should divide their difference so I look at
n>x
(2^{2^n}+1)-(2^{2^x}+1)=2^{2^x}(2^{2^n-2^x}-1)
Now since fermat numbers are odd their factors will have to be contained in
(2^{2^n-2^x}-1) Now if they share common factors then it should divide
(2^{2^n-2^x}-1)+(2^{2^n}+1)= (2^{2^n-2^x}+2^{2^n})=2^{2^n}(2^{-2^x}+1)
Since fermat numbers are odd their factors must divide into
(2^{-2^x}+1) but this is not an integer so this contradicts our assumption that it will divide our sum, so fermat numbers are relatively prime.