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

a(n) = Sum_{k=0..floor(n/2)} (-1)^k * binomial(n+1,2*k+1) * Catalan(k).
3

%I #12 Jan 25 2023 08:36:30

%S 1,2,2,0,-3,-2,9,24,11,-66,-152,-8,587,1082,-438,-5248,-7733,7942,

%T 47502,53792,-105313,-430118,-343043,1249800,3866557,1730018,

%U -13996096,-34243896,-1947203,150962374,296101865,-121857184,-1582561869,-2468098042,2529520766

%N a(n) = Sum_{k=0..floor(n/2)} (-1)^k * binomial(n+1,2*k+1) * Catalan(k).

%F a(n) = n+1 - Sum_{k=0..n-2} a(k) * a(n-k-2).

%F G.f. A(x) satisfies: A(x) = 1/(1-x)^2 - x^2 * A(x)^2.

%F G.f.: 2 / ( (1-x) * (1-x + sqrt((1-x)^2 + 4*x^2)) ).

%F D-finite with recurrence (n+2)*a(n) +3*(-n-1)*a(n-1) +(7*n-4)*a(n-2) +5*(-n+1)*a(n-3)=0. - _R. J. Mathar_, Jan 25 2023

%o (PARI) a(n) = sum(k=0, n\2, (-1)^k*binomial(n+1, 2*k+1)*binomial(2*k, k)/(k+1));

%o (PARI) my(N=40, x='x+O('x^N)); Vec(2/((1-x)*(1-x+sqrt((1-x)^2+4*x^2))))

%Y Cf. A360049, A360050, A360051.

%Y Cf. A000108.

%K sign

%O 0,2

%A _Seiichi Manyama_, Jan 23 2023