|
|
A047167
|
|
Number of nonempty subsets of {1,2,...,n} in which exactly 3/5 of the elements are <= n/2.
|
|
2
|
|
|
0, 0, 0, 0, 0, 3, 6, 24, 40, 100, 150, 315, 455, 980, 1470, 3528, 5544, 13692, 21630, 51600, 80520, 186945, 290400, 675675, 1056627, 2492919, 3929926, 9324406, 14742910, 34860553, 55107598, 129804808, 205272008, 483483128, 765991032, 1807560972, 2869786524, 6779169543
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,6
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{k>=1} binomial(floor(n/2), 3*k)*binomial(ceiling(n/2), 2*k). - Andrew Howroyd, Apr 11 2021
|
|
PROG
|
(PARI) a(n) = {my(m=n\2); sum(k=1, m\3, binomial(m, 3*k)*binomial(n-m, 2*k))} \\ Andrew Howroyd, Apr 11 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|