OFFSET
0,3
COMMENTS
The median coefficient in the expansion of (1 + x + x^2)^n. - Vladimir Reshetnikov, Nov 21 2020
LINKS
Robert Israel, Table of n, a(n) for n = 0..2550
FORMULA
a(n) = GegenbauerC(floor(n/2), -n, -1/2). - Emanuele Munarini, Oct 18 2016
G.f.: g(t) = (1+(t+t^2)*A(t^2)+t^4*A(t^2)^2)/(1-t^2*A(t^2)-3*t^4*A(t^2)^2), where A(t) is the g.f. of A143927 and satisfies A(t) = [1 + x*A(t) + t^2*A(t)^2]^2. - Emanuele Munarini, Oct 20 2016
MAPLE
seq(simplify(GegenbauerC(floor(n/2), -n, -1/2)), n=0..100); # Robert Israel, Oct 20 2016
MATHEMATICA
Table[GegenbauerC[Floor[n/2], -n, -1/2] + KroneckerDelta[n, 0], {n, 0,
100}] (* Emanuele Munarini, Oct 20 2016 *)
PROG
(Maxima) makelist(ultraspherical(floor(n/2), -n, -1/2), n, 0, 12); /* Emanuele Munarini, Oct 18 2016 */
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved