OFFSET
1,2
COMMENTS
a(n+1) - a(n) is in {1,2} for n >= 1.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..3000
EXAMPLE
The values of e - (1 + 1/k)^k for k = 1..8 are approximately 0.718282, 0.468282, 0.347911, 0.276876, 0.229962, 0.196655, 0.171782, 0.152497, so that the first 6 terms of A247778 are 1,2,4,5,6,8.
MATHEMATICA
PROG
(PARI) a(n) = {k = 1; while ((exp(1) - (1 + 1/k)^k) >= 1/n, k++); k; } \\ Michel Marcus, Sep 25 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 23 2014
STATUS
approved