login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A017935 Powers of sqrt(10) rounded to nearest integer. 1

%I

%S 1,3,10,32,100,316,1000,3162,10000,31623,100000,316228,1000000,

%T 3162278,10000000,31622777,100000000,316227766,1000000000,3162277660,

%U 10000000000,31622776602,100000000000,316227766017,1000000000000,3162277660168,10000000000000

%N Powers of sqrt(10) rounded to nearest integer.

%H Vincenzo Librandi, <a href="/A017935/b017935.txt">Table of n, a(n) for n = 0..1994</a> (truncated by Georg Fischer, Apr 27 2019)

%F a(n) = round(10^(n/2)).

%p a:= proc(n) Digits:= 10+iquo(n,2): round(sqrt(10)^n) end:

%p seq(a(n), n=0..40); # _Alois P. Heinz_, Apr 27 2019

%t Floor[(Sqrt[10]^Range[0,40]+1/2)] (* _Vincenzo Librandi_, Nov 19 2011 *)

%o (PARI) a(n)=round(sqrt(10)^n) \\ _Charles R Greathouse IV_, Nov 18 2011

%o (MAGMA) [Round(Sqrt(10)^n): n in [0..40]]; // _Vincenzo Librandi_, Nov 19 2011

%K nonn

%O 0,2

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 24 14:24 EDT 2021. Contains 345417 sequences. (Running on oeis4.)