login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047162 Number of nonempty subsets of {1,2,...,n} in which exactly 2/3 of the elements are <= n/2. 3
0, 0, 0, 2, 3, 9, 12, 30, 40, 100, 135, 335, 455, 1127, 1540, 3822, 5250, 13050, 18000, 44802, 62007, 154517, 214467, 534963, 744315, 1858155, 2590679, 6472167, 9039823, 22597759, 31612324, 79067374, 110761494, 277164294, 388742706, 973184312, 1366460867, 3422117189 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{k>=1} binomial(floor(n/2), 2*k)*binomial(ceiling(n/2), k). - Andrew Howroyd, Apr 11 2021
PROG
(PARI) a(n) = {my(m=n\2); sum(k=1, n\4, binomial(m, 2*k)*binomial(n-m, k))} \\ Andrew Howroyd, Apr 11 2021
CROSSREFS
Cf. A047161.
Sequence in context: A330298 A330242 A239859 * A155929 A175206 A032486
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(35) and beyond from Andrew Howroyd, Apr 11 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 12:24 EDT 2024. Contains 372333 sequences. (Running on oeis4.)