OFFSET
0,2
COMMENTS
E.g.f. is int( 1/((1-t)(1-2*(x+t))), t=0..x).
FORMULA
a(n) = Sum_{k=0..n} 2^k * k! * (n-k)!.
E.g.f. (for offset 1): (log(1-x)+log(1-2*x))/(-3+2*x).
a(n) ~ n! * 2^n * (1 + 1/(2*n) + 1/(2*n^2) + 5/(4*n^3) + 17/(4*n^4) + 37/(2*n^5) + 98/n^6 + 4885/(8*n^7) + 34969/(8*n^8) + 70657/(2*n^9) + 636151/(2*n^10) + ...). - Vaclav Kotesovec, Aug 08 2019, extended Dec 07 2020
EXAMPLE
a(4) = 484 = 4! 0! + 2 3! 1! + 2^2 2! 2! + 2^3 1! 3! + 2^4 0! 4!
MAPLE
f:=proc(n) local k; add(2^k*k!*(n-k)!, k=0..n); end:
MATHEMATICA
Rest[Range[0, 20]! CoefficientList[Series[((Log[1 - x] + Log[1 - 2 x]))/(-3 + 2 x), {x, 0, 20}], x]] (* Vincenzo Librandi, Jul 13 2015 *)
Table[Sum[2^k * k! * (n-k)!, {k, 0, n}], {n, 0, 20}] (* Vaclav Kotesovec, Aug 08 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Mike Zabrocki, Jun 10 2005
STATUS
approved