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!)
A047161 Number of nonempty subsets of {1,2,...,n} in which exactly 1/3 of the elements are <= n/2. 6
0, 0, 1, 2, 6, 9, 21, 30, 70, 100, 235, 335, 791, 1127, 2681, 3822, 9150, 13050, 31401, 44802, 108262, 154517, 374715, 534963, 1301235, 1858155, 4531423, 6472167, 15818791, 22597759, 55339849, 79067374, 193962894, 277164294, 680963509, 973184312, 2394289028, 3422117189 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{k>=1} binomial(floor(n/2), k)*binomial(ceiling(n/2), 2*k). - Andrew Howroyd, Apr 11 2021
PROG
(PARI) a(n) = {my(m=n\2); sum(k=1, (n+1)\4, binomial(m, k)*binomial(n-m, 2*k))} \\ Andrew Howroyd, Apr 11 2021
CROSSREFS
Sequence in context: A095967 A316429 A337639 * A318193 A048083 A127931
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)