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

A121925
a(n) = floor(n*(Pi^e + e^Pi)).
1
0, 45, 91, 136, 182, 227, 273, 319, 364, 410, 455, 501, 547, 592, 638, 683, 729, 775, 820, 866, 911, 957, 1003, 1048, 1094, 1139, 1185, 1231, 1276, 1322, 1367, 1413, 1459, 1504, 1550, 1595, 1641, 1687, 1732, 1778, 1823, 1869, 1915, 1960, 2006, 2051, 2097
OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..999 [Offset shifted by Georg Fischer, Sep 02 2022]
MATHEMATICA
With[{a = Pi^E + E^Pi}, Floor[a * Range[0, 40]]] (* Vincenzo Librandi, Feb 20 2013 *)
PROG
(PARI) a(n)=floor(n*(Pi^exp(1)+exp(Pi))) \\ Charles R Greathouse IV, Feb 20 2013
(Magma) C<i> := ComplexField(); [Floor(n*(Pi(C)^Exp(1) + Exp(1)^Pi(C))): n in [0..50]]; // G. C. Greubel, Nov 06 2017
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Mohammad K. Azarian, Sep 02 2006
EXTENSIONS
Offset corrected by Mohammad K. Azarian, Nov 20 2008
Offset changed to 0 by Georg Fischer, Sep 02 2022
STATUS
approved