login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A034995
Smallest square starting with a string of n 9's.
2
9, 99225, 9991921, 999950884, 99999515529, 9999995824729, 999999961946176, 99999999356895225, 99999999989350756, 999999999956753113201, 99999999999470044512256, 9999999999991276338467889
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local d, q, x;
for d from n do
q:= 10^d-10^(d-n);
x:= isqrt(q);
if x^2 < q then x:= x+1 fi;
if x^2 < 10^d then return x^2 fi
od
end proc:
map(f, [$1..20]); # Robert Israel, Sep 28 2018
CROSSREFS
Cf. A034994.
Sequence in context: A014381 A185293 A281360 * A109464 A300195 A368068
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1998
EXTENSIONS
More terms from Hans Havermann, Jun 18 2001
STATUS
approved