(A Fermat number $F_n$ is such that $F_n = 2^{2^n} + 1, \; \; n=0,1,2,3...$.)
We will show that any two Fermat numbers are relatively prime; hence there must be infinitely many primes. We verify the recursion
$\prod_{k=0}^{n-1} F_k = F_n - 2 $
from which our assertion follows immediately. Indeed, if $m$ is a divisor of, say, $F_k$ and $F_n$, where $k<n$, then $m$ divides $2$.
Where did the "then $m$ divides $2$" assertion come from?