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.