login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A295518
a(n) = e^2 * Sum_{k=0..n-1} Gamma(k + 1, 2).
1
0, 1, 4, 14, 52, 220, 1092, 6388, 43588, 341444, 3022660, 29835844, 324782916, 3864151876, 49875956548, 694041238340, 10356520497988, 164956188717892, 2793150548587332, 50100649026499396, 948943120107352900, 18925792541725471556, 396439630395708060484
OFFSET
0,3
FORMULA
a(n) = (2*n-4)*a(n-3)+(3-3*n)*a(n-2)+(2+n)*a(n-1) for n >= 3.
MAPLE
a := proc(n) option remember; if n=0 then 0 elif n=1 then 1 elif n=2 then 4 else
(2*n-4)*a(n-3)+(3-3*n)*a(n-2)+(2+n)*a(n-1) fi end: seq(a(n), n=0..22);
MATHEMATICA
a[n_] := E^2 Sum[Gamma[k + 1, 2], {k, 0, n-1}]; Table[a[n], {n, 0, 22}]
CROSSREFS
Cf. A010842.
Sequence in context: A149489 A125783 A090319 * A047118 A017948 A214998
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 17 2017
STATUS
approved