OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1000], Take[IntegerDigits[#^2], 1]=={8}&] (* Harvey P. Dale, Jul 30 2019 *)
PROG
(Python)
from math import isqrt
def auptorun(runs):
alst = []
for n in range(1, runs+1):
alst.extend(list(range(isqrt(8*10**n) + 1, isqrt(9*10**n - 1)+1)))
return alst
print(auptorun(5)) # Michael S. Branicky, Sep 29 2021
(PARI) isok(k) = digits(k^2)[1] == 8; \\ Michel Marcus, Sep 29 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved