let $(a\pm b)^2=y^2=\[{1 \underbrace{4...4}_{n \: times}} \]$ is a perfect square
here $b=2$
we have :$y^2-4=a(a\pm 4)$
if $a(a+4)=y^2-4=\[{1 \underbrace{4...4}_{m \: times}}0 $
then the leftmost digit of $a=1$
if $a(a-4)=y^2-4=\[{1 \underbrace{4...4}_{m \: times}}0 $
then the leftmost digit of $a=4$
(for the leftmost digit of $y^2-4 = 1$)
as we can see the only possible values for $a=10,or \, 40$
and the solutions of $m=1,or \,2$
$m=1,140=10\times 14$ and $ n=2$ we have $144=12^2$
$m=2,1440=40\times 36$ and $n=3$ we have $1444=38^2$
if $n\geq 4 $ we have $y^2=10^n+4\times\[{ \underbrace{1...1}_{n \: times}} \]$
=$4\times \,\, (3\, mod \,4)$
which can not be a perfect square
for $ (3\, mod \,4)$ is not a perfect square
**(I take a reference of kaliprasad' proof for the last part many thanks !)