OFFSET
3,2
COMMENTS
The asymptotic value for large n is 0.21828...*n! See also comment for A079884
REFERENCES
See under A079884
LINKS
FORMULA
a(3)=0, a(n) = n * a(n-1) + n for n >= 4.
a(n) = Sum_{j=3..n} (n+1)!/j!. - Zerinvary Lajos, Oct 20 2006
For n >= 3, a(n) = floor((e - 5/2)*n! - 1/2). - Benoit Cloitre, Aug 03 2007
MAPLE
a:=n->sum((n+1)!/j!, j=3..n): seq(a(n), n=2..20); # Zerinvary Lajos, Oct 20 2006
MATHEMATICA
a[3] = 0; a[n_] := n*a[n - 1] + n; Table[a[n], {n, 3, 21}]
PROG
(Fortran) c Program available at link.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Hugo Pfoertner, Jan 14 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jan 22 2003
STATUS
approved