OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..996
FORMULA
a(n) <= A002280(n)+1. - Robert Israel, May 31 2023
EXAMPLE
a(5)^2 = 66667^2 = {44444}88889.
MAPLE
f:= proc(n) local x, k, s;
x:= 4*(10^n-1)/9;
for k from 0 do
s:= ceil(sqrt(10^k*x));
if s^2 < (x+1)*10^k then return s fi
od
end proc:
map(f, [$1..30]); # Robert Israel, May 31 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1998
EXTENSIONS
More terms from Francisco Salinas (franciscodesalinas(AT)hotmail.com), Dec 23 2001
STATUS
approved