[go: up one dir, main page]

login
A017935
Powers of sqrt(10) rounded to nearest integer.
1
1, 3, 10, 32, 100, 316, 1000, 3162, 10000, 31623, 100000, 316228, 1000000, 3162278, 10000000, 31622777, 100000000, 316227766, 1000000000, 3162277660, 10000000000, 31622776602, 100000000000, 316227766017, 1000000000000, 3162277660168, 10000000000000
OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1994 (truncated by Georg Fischer, Apr 27 2019)
FORMULA
a(n) = round(10^(n/2)).
MAPLE
a:= proc(n) Digits:= 10+iquo(n, 2): round(sqrt(10)^n) end:
seq(a(n), n=0..40); # Alois P. Heinz, Apr 27 2019
MATHEMATICA
Floor[(Sqrt[10]^Range[0, 40]+1/2)] (* Vincenzo Librandi, Nov 19 2011 *)
PROG
(PARI) a(n)=round(sqrt(10)^n) \\ Charles R Greathouse IV, Nov 18 2011
(Magma) [Round(Sqrt(10)^n): n in [0..40]]; // Vincenzo Librandi, Nov 19 2011
CROSSREFS
Sequence in context: A053581 A247595 A092822 * A134377 A278133 A077826
KEYWORD
nonn
STATUS
approved