OFFSET
1,2
FORMULA
a(2*n) = 10^(2*n), a(2*n+1) = 1024*10^(2*n) for k >= 1 since 1024 is the smallest square factor that contains a single '0'. - Georg Fischer, Jul 03 2023
MATHEMATICA
nsmall = Table[Infinity, 20];
For[i = 0, i <= 4*10^6, i++, n0 = Count[IntegerDigits[i^2], 0];
If[nsmall[[n0]] > i^2, nsmall[[n0]] = i^2]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved