login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
Sequence in context: A200379 A032638 A292229 * A299166 A136776 A018915
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 30 04:37 EDT 2024. Contains 373861 sequences. (Running on oeis4.)