I need to find all the primes of the form $2^{2^n} + 5$ for all $n>0$
I know that $2^{2^0} + 5 = 7$ is prime and is the only prime. Now I just need to prove it.
I make the claim that if $n>=1$ then $2^{2^n} + 5$ is congruent to $0 \bmod 3$ for all $n>=1$
I then using induction on n prove it.
Base Case: $2^{2^1} + 5$ is congruent to $0 \bmod 3$
Induction Hypothesis Prove $2^{2^k} + 5$ is congruent to $0 \bmod 3$
So, $2^2$ is congruent to $1 \bmod 3$ then, $2^{2^{(k+1)}}$ is congruent to $1^{(k+1)} \bmod 3$ then, 2^2^(k+1) + 5 is congruent to $1^(k+1) + 5 = 0 \bmod 3$
Would this be an acceptable way to show this is true by induction?