A181052 The sequence of numbers where the n-th term is (Pi^n - e^n) rounded down to the nearest integer, where Pi is the ratio of a circle's circumference to its diameter (A000796) and e is Euler's constant (A001113).
0, 0, 2, 10, 42, 157, 557, 1923, 6507, 21706, 71621, 234329, 761514, 2461263, 7919566, 25389128, 81146110, 258689610, 822922433, 2613081648, 8284791600, 26232816108, 82971091345, 262178903447, 827784397784, 2611774514980, 8235612082447, 25955792878501
Offset: 0
Keywords
Examples
A(0)=0, A(1)=0, A(2)=2 etc...
Programs
-
Mathematica
Table[Floor[Pi^n-E^n],{n,0,40}] (* Harvey P. Dale, Jun 02 2015 *)
Formula
A(n) = floor(Pi^n - e^n)
Extensions
More terms from Harvey P. Dale, Jun 02 2015