Fermat numbers, GCD and proving existence of infinite primes

118 Views Asked by At

Prove that if a, m, n are positive integers with $m ≠ n$, then $gcd({a^2}^n+1,{a^2}^m+1)=1$ if $a$ is even and $2$ if a is odd. Use this to show that there are infinitely many primes.

WHAT?! i do not understand how this result can possibly help me prove the existence of infinite primes. I do not get how i can work out the gcd of the numbers, let alone the second part. I am extremely confused. Please help. Would be amazing if you could utilise standard number theory and/or modular arithmetic.

1

There are 1 best solutions below

0
On BEST ANSWER
  1. If $m<n$ and $d\in \Bbb N$ and $d$ divides both $a^{2^m}+1$ and $a^{2^n}+1$ then modulo $d$ we have $$0\equiv a^{2^n}+1 \equiv (a^{2^m})^{2^{n-m}}+1\equiv(-1)^{2^{n-m}}+1 \equiv 2.$$ So $0\equiv 2 \mod d,$ so $d=1$ or $d=2.$ But $d$ is odd because it is a divisor of $a^{2^m}+1,$ which is odd because $a$ is even.

  2. Any natural number greater than $1$ is divisible by a prime. For each $m\in \Bbb N$ let $d_m$ be the least (or any) prime divisor of $a^{2^m}+1.$ By 1., if $m<n$ then $d_m\ne d_n.$