# $x$ and $y$

Determine the number of pairs $(x,y)$ of integers such that

$1+2^x+2^{2x+1}=y^2.$

Source: an IMO problem

×