OFFSET
1,1
COMMENTS
Also, first term of runs of consecutive numbers whose square starts with the digit 8.
FORMULA
a(n) = ceiling(sqrt(8*10^n)), n > 0.
MATHEMATICA
Ceiling[Sqrt[8*10^Range[30]]] (* Harvey P. Dale, Apr 12 2013 *)
PROG
(Python)
from math import isqrt
def a(n): return isqrt(8*10**n) + 1
print([a(n) for n in range(1, 25)]) # Michael S. Branicky, Sep 29 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1998
STATUS
approved