|
|
A090039
|
|
a(1) = 1, otherwise a(n) = floor(e^(n+1)/(e^2 + 1)).
|
|
6
|
|
|
0, 1, 2, 6, 17, 48, 130, 355, 965, 2625, 7137, 19400, 52736, 143353, 389676, 1059250, 2879340, 7826860, 21275611, 57833108, 157206689, 427332086, 1161609045, 3157580759, 8583194400, 23331541370, 63421704936, 172398068058, 468626535665, 1273858996232
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
a(n+1)/a(n) converges to e.
|
|
LINKS
|
|
|
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
|
|
|
PROG
|
(PARI) a(n) = if (n==1, 1, exp(n+1)\(exp(2)+1)); \\ Michel Marcus, Jun 21 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|