OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..498
FORMULA
a(n) <= A102807(n). - Robert Israel, May 31 2023
MAPLE
f:= proc(n) local x, k, s;
x:= (10^n-1)/9;
for k from 0 do
s:= ceil(sqrt(10^k*x))^2;
if s < (x+1)*10^k then return s fi
od
end proc:
map(f, [$1..20]); # 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