login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = floor(Pi^n + e^n).
3

%I #14 Jul 01 2018 18:55:56

%S 2,5,17,51,152,454,1364,4116,12469,37912,115674,354078,1087023,

%T 3346090,10324775,31927163,98918331,306999516,954242372,2970046250,

%U 9255121991,28870447577,90140917038,281668510339,880762642043,2755784313655,8627071301305,27019889359705

%N a(n) = floor(Pi^n + e^n).

%H Harry J. Smith, <a href="/A061675/b061675.txt">Table of n, a(n) for n = 0..200</a>

%t Array[Floor[Pi^# + E^#] &, 23, 0] (* _Michael De Vlieger_, Jul 01 2018 *)

%o (PARI) for(n=0,22,print(floor(Pi^n+exp(1)^n)))

%o (PARI) { default(realprecision, 100); e=exp(1); for (n=0, 200, write("b061675.txt", n, " ", floor(Pi^n + e^n)) ) } \\ _Harry J. Smith_, Jul 26 2009

%K easy,nonn

%O 0,1

%A _Jason Earls_, Jun 26 2001