OFFSET
1,3
COMMENTS
If n is a member then so is 100*n.
All terms == 0, 1, 100, 121, 201 or 321 (mod 1000).
LINKS
Robert Israel, Table of n, a(n) for n = 1..400
EXAMPLE
a(3) = 100 is a member because 100 = 10^2 and 100 has no digits > 3.
MAPLE
Res:= NULL: count:= 0:
for k from 0 while count < 50 do
for j in [0, 1, 100, 121, 201, 321] do
L:= convert(k, base, 4);
x:= add(L[i]*10^(i-1), i=1..nops(L))*1000+j;
if issqr(x) then count:= count+1; Res:= Res, x fi
od od:
Res;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, Jan 19 2020
STATUS
approved