login
Squares whose external digits (MSD and LSD) form a square. Or squares from which deleting the internal digits leaves a square.
5

%I #11 Sep 21 2024 22:56:50

%S 0,1,4,9,16,25,36,49,64,81,196,225,841,1156,1296,1936,2025,3136,4489,

%T 6084,6724,8281,10816,11236,12996,13456,15376,15876,17956,18496,21025,

%U 24025,27225,30276,30976,33856,34596,37636,38416,41209,42849,45369,47089,49729,61504

%N Squares whose external digits (MSD and LSD) form a square. Or squares from which deleting the internal digits leaves a square.

%H Andrew Howroyd, <a href="/A077356/b077356.txt">Table of n, a(n) for n = 1..10000</a>

%e 10816 = 104^2 is a term as deleting its internal digits (081) leaves 16, a square.

%o (PARI) lista(n)={my(L=List(), k=0); while(#L<n, my(x=k^2); if(x<100 || issquare(x\10^logint(x,10)*10+x%10), listput(L,x)); k++); Vec(L)} \\ _Andrew Howroyd_, Sep 21 2024

%Y Cf. A077355, A077357.

%K base,nonn

%O 1,3

%A _Amarnath Murthy_, Nov 05 2002

%E More terms from _Erich Friedman_, Aug 08 2005

%E 0 inserted by _Jon E. Schoenfield_, Jan 15 2014

%E Offset changed and a(42) onwards from _Andrew Howroyd_, Sep 21 2024