OFFSET
1,2
COMMENTS
a(n+1) - a(n) is in {0,1} for n >= 0.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..5000
FORMULA
a(n) ~ 2*exp(-1) * n. - Vaclav Kotesovec, Oct 09 2014
MATHEMATICA
PROG
(PARI) a(n) = floor(1/(exp(1) - (1 + 1/n)^n)); \\ Michel Marcus, Sep 26 2014
(Magma) [Floor(1/(Exp(1) - (1 + 1/n)^n)): n in [1..100]]; // G. C. Greubel, Sep 14 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 24 2014
STATUS
approved