login
A047170
Number of nonempty subsets of {1,2,...,n} in which exactly 5/6 of the elements are <= n/2.
2
0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 6, 36, 42, 147, 168, 448, 504, 1134, 1260, 2565, 2827, 5687, 6270, 13860, 15444, 39039, 44044, 119119, 135135, 360815, 408968, 1039808, 1174224, 2842604, 3197904, 7515054, 8436114, 19773414, 22203020, 53093125, 59750649, 146794494
OFFSET
1,10
LINKS
FORMULA
a(n) = Sum_{k>=1} binomial(floor(n/2), 5*k)*binomial(ceiling(n/2), k). - Andrew Howroyd, Apr 11 2021
PROG
(PARI) a(n) = {my(m=n\2); sum(k=1, m\5, binomial(m, 5*k)*binomial(n-m, k))} \\ Andrew Howroyd, Apr 11 2021
CROSSREFS
Cf. A047169.
Sequence in context: A255197 A253192 A036254 * A333218 A349051 A137254
KEYWORD
nonn
EXTENSIONS
Terms a(35) and beyond from Andrew Howroyd, Apr 11 2021
STATUS
approved