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

A318910
a(n) is the nearest integer to binomial(n,n/2) = n!/((n/2)!)^2.
0
1, 1, 2, 3, 6, 11, 20, 37, 70, 132, 252, 482, 924, 1778, 3432, 6639, 12870, 24994, 48620, 94716, 184756, 360821, 705432, 1380533, 2704156, 5301248, 10400600, 20419624, 40116600, 78861995, 155117520, 305272239, 601080390, 1184086260, 2333606220, 4601020897, 9075135300
OFFSET
0,3
COMMENTS
If we consider binomial(n,x) as a real-valued function of x, then a(n) is the maximum value of binomial(n,x) (always obtained by x = n/2), rounded. Here binomial(n,x) must be understood as Gamma(n+1)/(Gamma(x+1)*Gamma(n-x+1)).
A093581 actually has already mentioned a geometric interpretation of this sequence.
FORMULA
a(2n) = A000984(n), a(2n+1) = round((2^(4n+2)*(n!)^2)/(Pi*(2n+1)!)) = round(2^(4n+2)/(Pi*A002457(n))) = round(A093581(n)/(Pi*A001803(n))).
a(n) ~ 2^n/sqrt(n*Pi/2).
EXAMPLE
a(1) = round(1!/(0.5!)^2) = round(4/Pi) = round(1.2732395...) = 1.
a(3) = round(3!/(1.5!)^2) = round(32/(3*Pi)) = round(3.3953054...) = 3.
a(5) = round(5!/(2.5!)^2) = round(512/(15*Pi)) = round(10.8649774...) = 11.
a(7) = round(7!/(3.5!)^2) = round(4096/(35*Pi)) = round(37.2513512...) = 37.
PROG
(PARI) a(n) = round(gamma(n+1)/gamma(n/2+1)^2)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Sep 05 2018
STATUS
approved