OFFSET
0,3
COMMENTS
Invert transform of A001405.
LINKS
N. J. A. Sloane, Transforms
Eric Weisstein's World of Mathematics, Central Binomial Coefficient
FORMULA
G.f.: 1/(1 - Sum_{k>=1} binomial(k,floor(k/2))*x^k).
D-finite with recurrence: n*(n+1)*a(n) +(n-1)*(n-5)*a(n-1) -12*(n-1)*(n+1)*a(n-2) -12*(n-2)*(n-5)*a(n-3) +32*(n+1)*(n-3)*a(n-4) +32*(n-4)*(n-5)*a(n-5)=0. - R. J. Mathar, Jan 25 2020
a(n) ~ 2^(3*(n-1)/2). - Vaclav Kotesovec, Jan 29 2020
MAPLE
a:= proc(n) option remember; `if`(n=0, 1, add(
a(n-i)*binomial(i, floor(i/2)), i=1..n))
end:
seq(a(n), n=0..35); # Alois P. Heinz, Jun 21 2018
MATHEMATICA
nmax = 29; CoefficientList[Series[2 x (1 - 2 x)/(1 + 2 x - 8 x^2 - Sqrt[1 - 4 x^2]), {x, 0, nmax}], x]
nmax = 29; CoefficientList[Series[1/(1 - Sum[Binomial[k, Floor[k/2]] x^k, {k, 1, nmax}]), {x, 0, nmax}], x]
a[0] = 1; a[n_] := a[n] = Sum[Binomial[k, Floor[k/2]] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 29}]
PROG
(Magma) m:=35; R<x>:=PowerSeriesRing(Rationals(), m); Coefficients(R!( 2*x*(1 - 2*x)/(1 + 2*x - 8*x^2 - Sqrt(1 - 4*x^2)))); // Vincenzo Librandi, Jan 27 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jun 21 2018
STATUS
approved