I am trying to prove this by contradiction:
Assume $2^{k} + 1$ is prime.
By definition of odd number $2^{k} + 1$ is odd because $2^{k} + 1 = 2\cdot 2^{k-1} + 1$
Then $2^{k} + 1 \pmod{2} \equiv 1 \pmod{2}$
Because $2^{k} + 1$ is odd, $2^{k}$ has to be even. Let $k = ab$
I am stuck here, can someone help me?