|
|
A071801
|
|
a(n) = binomial(2n, n) - binomial(n, floor(n/2))^2.
|
|
3
|
|
|
0, 1, 2, 11, 34, 152, 524, 2207, 7970, 32744, 121252, 491988, 1850380, 7455944, 28337976, 113708295, 435443490, 1742630120, 6711230900, 26811568916, 103711749284, 413849297784, 1606464657096, 6405315809516, 24935144010764, 99367486347752
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Number of lattice paths in the lattice [0..n] X [0..n] which do not pass through the point (floor(n/2),floor(n/2)). In this case, the "hole" in the lattice is at the point closest to the lattice center.
|
|
LINKS
|
|
|
FORMULA
|
Also, a(n) = Sum_{m=0..n} binomial(n, m)^2 - binomial(n, floor(n/2))^2.
G.f.: 1/sqrt(1-4*x) + 1/(4*x) - (4*x+1)*EllipticK(4*x)/(2*x*Pi). - Mark van Hoeij, May 01 2013
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[Binomial[2n, n] - Binomial[n, Floor[n/2]]^2, {n, 0, 20}]
|
|
PROG
|
(Magma) [Binomial(2*n, n) - Binomial(n, Floor(n/2))^2 : n in [0..40]]; // Wesley Ivan Hurt, Jan 03 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|