OFFSET
0,3
COMMENTS
a(n+1)/a(n) converges to e.
FORMULA
Let b(0)=0; b(1)=1; b(n+2)=(e-1/e)*b(n+1)+b(n). a(n)=floor(b(n)).
MATHEMATICA
Join[{0, 1}, Table[Floor[E^(n + 1)/(E^2 + 1)], {n, 2, 29}]] (* Arkadiusz Wesolowski, Apr 20 2012 *)
PROG
(PARI) a(n) = if (n==1, 1, exp(n+1)\(exp(2)+1)); \\ Michel Marcus, Jun 21 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Nov 20 2003
EXTENSIONS
Edited by Don Reble, Nov 14 2005
Name changed by Arkadiusz Wesolowski, Apr 20 2012
STATUS
approved