Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Search: a034995 -id:a034995
     Sort: relevance | references | number | modified | created      Format: long | short | data
Square root of smallest square starting with a string of n 9's.
+10
3
3, 315, 3161, 31622, 316227, 3162277, 31622776, 316227765, 316227766, 31622776601, 316227766016, 3162277660167, 31622776601683, 316227766016837, 3162277660168378, 31622776601683792
OFFSET
1,1
LINKS
EXAMPLE
a(5) = 316227^2 = {99999}515529.
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 fi
od
end proc:
map(f, [$1..20]); # Robert Israel, Sep 28 2018
CROSSREFS
Cf. A034995.
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1998
EXTENSIONS
More terms from Hans Havermann, Jun 18 2001
STATUS
approved

Search completed in 0.004 seconds