OFFSET
0,2
COMMENTS
Equals row sums of triangle A145972. - Gary W. Adamson, Oct 25 2008
a(n-1) is the graph bandwidth of the n-hypercube graph Q_n. - Eric W. Weisstein, Jul 12 2011
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
L. H. Harper, Optimal numberings and isoperimetric problems on graphs, J. Comb. Th. 1 (1966), 385-393.
Eric Weisstein's World of Mathematics, Graph Bandwidth.
Eric Weisstein's World of Mathematics, Hypercube Graph.
FORMULA
G.f.: 2/((1-z)*(1-2*z+sqrt(1-4*z^2))). - Emeric Deutsch, Nov 25 2003
a(n) ~ 2^(n+3/2) / sqrt(Pi*n) * (1 + (-1)^n/(12*n)). - Vaclav Kotesovec, Mar 02 2014
MATHEMATICA
Table[Sum[Binomial[k, Floor[k/2]], {k, 0, n}], {n, 0, 20}]
(* Alternative: *)
Table[3/2 Binomial[2 Floor[n/2], Floor[n/2]] Hypergeometric2F1[1, -Floor[n/2], 1/2 - Floor[n/2], 1/4] + (n - 2 Floor[n/2]) Binomial[2 Floor[n/2] + 1, Floor[n/2]] - 1/2, {n, 0, 20}] (* Eric W. Weisstein, Jul 13 2026 *)
(* Alternative: *)
CoefficientList[Series[2/((1 - z) (1 - 2 z + Sqrt[1 - 4 z^2])), {z, 0, 20}], z] (* Eric W. Weisstein, Jul 13 2026 *)
PROG
(PARI) for(n=0, 50, print1(sum(k=0, n, binomial(k, floor(k/2))), ", ")) \\ G. C. Greubel, Jan 24 2017
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
STATUS
approved
