Let A and B be two positive integers greater than $0$. Is it possible that $2^{2A}+2^{2B}$ is a square number?
I am having trouble with this exercise because I get the feeling the answer is no, but I cannot elaborate on the proof. So far what I thought was to assume that there is some integer $C>0$ such that $2^{2A}+2^{2B}=C^2$. Then $$(2^A+2^B)^2=C^2+2^{A+B+1}$$ I was trying to see if the previous expression could hold a contradiction but I got stuck. All I could find is that $C$ needs to be an even number but that doesn't seem to get me anywhere. I'd appreciate any help.
Thanks in advance!
Without loss of generality, let $A>B$. Then $2^{2A}+2^{2B}=2^{2B}(2^{2A-2B}+1)$ is a square implies $2^{2A-2B}+1$ is a square as $2^{2B}$ is a square. But this is impossible since $2^{2A-2B}$ is a square.