OFFSET
0,2
COMMENTS
e^(n+1)-e^n-1 < a(n) <= A064780(n) <= a(n)+1 < e^(n+1)-e^n+1.
Lim_{n->infinity} a(n)/e^(n+1) = (e-1)/e. [Corrected by Altug Alkan, Apr 25 2018]
LINKS
Danny Rorabaugh, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, e
Eric Weisstein's World of Mathematics, Floor Function
FORMULA
a(n) = floor(e^(n+1)-e^n).
MATHEMATICA
Floor[#[[2]]-#[[1]]]&/@Partition[E^Range[0, 30], 2, 1] (* Harvey P. Dale, Jul 24 2018 *)
PROG
(PARI) vector(30, n, n--; floor(exp(n+1)-exp(n))) \\ Michel Marcus, Mar 06 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Danny Rorabaugh, Mar 04 2015
STATUS
approved