login
A052212
Numbers k whose square contains the digits of k in order (but not necessarily consecutively).
2
1, 5, 6, 10, 11, 25, 50, 60, 76, 95, 96, 100, 101, 105, 110, 125, 205, 250, 305, 371, 376, 405, 441, 500, 501, 505, 506, 525, 600, 601, 605, 625, 676, 705, 756, 760, 805, 825, 826, 905, 946, 950, 960, 976, 995, 996, 1000, 1001, 1005, 1006, 1010, 1011, 1021
OFFSET
1,2
COMMENTS
Subsequence of A046829. - R. J. Mathar, Oct 13 2008
EXAMPLE
1276^2 = 1628176, which contains the digits 1,2,7,6 in that order.
PROG
(Python)
from itertools import count, islice
def A052212_gen(startvalue=1): # generator of terms >= startvalue
for k in count(max(startvalue, 1)):
c = iter(str(k**2))
if all(map(lambda b:any(map(lambda a:a==b, c)), str(k))):
yield k
A052212_list = list(islice(A052212_gen(), 20)) # Chai Wah Wu, Apr 03 2023
CROSSREFS
Sequence in context: A029780 A074913 A046829 * A046838 A326418 A037359
KEYWORD
base,easy,nonn
AUTHOR
Erich Friedman, Jan 29 2000
EXTENSIONS
Definition clarified by N. J. A. Sloane, Apr 04 2023
STATUS
approved