Let $m$ be a positive integer. Prove that if $2^{m+1}+1$ divides $3^{2^m}+1$, then $2^{m+1}+1$ is a prime.
Let $N = 2^{m+1}+1$. If $2^{m+1}+1$ divides $3^{2^m}+1$, then $3^{2^m}+1 \equiv 0 \pmod{N}$ and so $\text{ord}_N(3) \mid 2^{m+1}$. Thus $\text{ord}_N(3)$ is a power of $2$. How can we continue from here?