%I #13 Jul 23 2023 22:23:06
%S 1,5,6,10,11,25,50,60,76,95,96,100,101,105,110,125,205,250,305,371,
%T 376,405,441,500,501,505,506,525,600,601,605,625,676,705,756,760,805,
%U 825,826,905,946,950,960,976,995,996,1000,1001,1005,1006,1010,1011,1021
%N Numbers k whose square contains the digits of k in order (but not necessarily consecutively).
%C Subsequence of A046829. - _R. J. Mathar_, Oct 13 2008
%e 1276^2 = 1628176, which contains the digits 1,2,7,6 in that order.
%o (Python)
%o from itertools import count, islice
%o def A052212_gen(startvalue=1): # generator of terms >= startvalue
%o for k in count(max(startvalue,1)):
%o c = iter(str(k**2))
%o if all(map(lambda b:any(map(lambda a:a==b,c)),str(k))):
%o yield k
%o A052212_list = list(islice(A052212_gen(),20)) # _Chai Wah Wu_, Apr 03 2023
%K base,easy,nonn
%O 1,2
%A _Erich Friedman_, Jan 29 2000
%E Definition clarified by _N. J. A. Sloane_, Apr 04 2023