OFFSET
1,2
PROG
(Python)
from itertools import count, islice
def A046830_gen(startvalue=1): # generator of terms >= startvalue
for k in count(max(startvalue, 1)):
if k%10:
c = iter(str(k**2))
if all(map(lambda b:any(map(lambda a:a==b, c)), str(k))):
yield k
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved