[go: up one dir, main page]

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”).

A121899
a(n) = ceiling((Pi + e)*sqrt(n)).
2
0, 6, 9, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 27, 28, 29, 29, 30, 30, 31, 32, 32, 33, 33, 34, 34, 35, 35, 36, 36, 37, 37, 38, 38, 38, 39, 39, 40, 40, 41, 41, 42, 42, 42, 43, 43, 44, 44, 44, 45, 45, 46, 46, 46, 47, 47, 47, 48, 48, 48, 49, 49
OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..999 [Offset shifted by Georg Fischer, Sep 02 2022]
MATHEMATICA
Table[Ceiling[(Pi + E) Sqrt[n]], {n, 0, 70}] (* Vincenzo Librandi, Feb 21 2013 *)
PROG
(PARI) for(n=0, 50, print1(ceil((exp(1)+Pi)*sqrt(n)), ", ")) \\ G. C. Greubel, Oct 28 2017
(Magma) C<i> := ComplexField(); [Ceiling((Exp(1) + Pi(C))*Sqrt(n)): n in [0..50]]; // G. C. Greubel, Oct 28 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Sep 01 2006
EXTENSIONS
Offset corrected by Mohammad K. Azarian, Nov 20 2008
Offset changed to 0 by Georg Fischer, Sep 02 2022
STATUS
approved