Solve the following equation in positive integers $x$ and $y$ What are the solutions in positive integers of the equation: 
$${1+2^x+2^{2x+1}=y^2}$$
I tried to factorize the equation but it didn't help much.
Clearly $y $ is an odd integer. Substituting $y =2n+1$, we get 
$2^x+2^{2x+1}=(2n)\cdot{(2n+2)}$
$\Rightarrow (2^{x-2})\cdot(1+2^{x+1})=(n)\cdot(n+1)$
Which is the product of 2 consecutive integers. Does it help? I don't know.

$1+2^x+2^{2x+1}=y^2$ or $1+2^{(x-1)+1}+2^{2(x-1)+3}=y^2$ or $1+2*2^{(x-1)}+8*2^{2(x-1)}=y^2$. Now, let $p=2^{(x-1)}$, then, $1+2p+p^2+7p^2=y^2$ or $(p+1)^2=y^2-7p^2$ , this a Rational Pell equation, now, it can be shown that any such Pell equation has solutions; $(r^2-d)^2=(r^2+d)^2-d(2r)^2$. Hence, by comparison, $d=7$, $p(=2^{(x-1)})=2r$, $y=r^2+7$ and $p+1=r^2-7$, from these equations we get; $8=r^2-2r=r(r-2)$. Hence, $r=4=2^{(x-2)}$. $x=4$, $y=23$. This is the only non-trivial integer solution.
