[go: up one dir, main page]

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”).

A349104
Expansion of e.g.f. 1/(1 - (sin(x) + x*cos(x))/2 ).
3
1, 1, 2, 4, 8, 3, -124, -1306, -10144, -67723, -363392, -831672, 16709824, 386800759, 5631873664, 66256305994, 619010054144, 3201069236265, -40479063835648, -1775812586063860, -39853546353553408, -694055641682352469, -9591063643658387456, -84103588142498507346
OFFSET
0,3
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/2)} (-1)^k * (k+1) * binomial(n,2*k+1) * a(n-2*k-1).
MATHEMATICA
With[{m = 23}, Range[0, m]! * CoefficientList[Series[1/(1 - (Sin[x] + x*Cos[x])/2), {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(1/(1-(sin(x)+x*cos(x))/2)))
(PARI) a(n) = if(n==0, 1, sum(k=0, (n-1)\2, (-1)^k*(k+1)*binomial(n, 2*k+1)*a(n-2*k-1)));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 26 2022
STATUS
approved