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

Search: a121899 -id:a121899
     Sort: relevance | references | number | modified | created      Format: long | short | data
a(n) = floor((Pi - e)*sqrt(n)).
+10
2
0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
OFFSET
0,24
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..999 [Offset shifted by Georg Fischer, Sep 02 2022]
MATHEMATICA
Table[Floor[(Pi - E)*Sqrt[n]], {n, 0, 110}] (* Vincenzo Librandi, Feb 21 2013 *)
PROG
(PARI) for(n=0, 50, print1(floor((Pi - exp(1))*sqrt(n)), ", ")) \\ G. C. Greubel, Oct 28 2017
(Magma) C<i> := ComplexField(); [Floor((Pi(C) - Exp(1))*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

Search completed in 0.005 seconds