OFFSET
1,1
COMMENTS
a(21) > 10^14. - Giovanni Resta, Jul 27 2018
LINKS
Eric Weisstein's World of Mathematics, Square Number
FORMULA
a(n) = sqrt(A036513(n)).
MATHEMATICA
a[n_] := Module[{i = 1}, While[DigitCount[i^2][[6]] != n, i++; ]; i]; (* Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 20 2006 *)
PROG
(Python)
def a(n):
k = 1
while not str(k**2).count('6') == n: k += 1
return k
print([a(n) for n in range(1, 11)]) # Michael S. Branicky, Apr 26 2021
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, Mar 15 1999
EXTENSIONS
816435342 from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 20 2006
a(14)-a(15) from Jon E. Schoenfield, Jan 14 2009
a(16) from Jon E. Schoenfield, Jan 24 2009
a(17)-a(20) from Giovanni Resta, Jul 27 2018
STATUS
approved