OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..654
FORMULA
a(n)=sum{k=0..floor(n/2), sum{i=0..k, (-1)^(k+i)i^(n-k)/(i!(k-i)!)}2^k }
G.f.: Sum_{k>=0} 2^k * x^(2*k)/Product_{j=1..k} (1 - j * x). - Seiichi Manyama, Apr 09 2022
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, 2^k*x^(2*k)/prod(j=1, k, 1-j*x))) \\ Seiichi Manyama, Apr 09 2022
(PARI) a(n) = sum(k=0, n\2, 2^k*stirling(n-k, k, 2)); \\ Seiichi Manyama, Apr 09 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Aug 05 2004
STATUS
approved