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!)
A361802 Irregular triangle read by rows where T(n,k) is the number of k-subsets of {-n+1,...,n} with sum 0, for k = 1,...,2n-1. 0
1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 3, 6, 7, 5, 2, 1, 1, 4, 10, 16, 18, 14, 8, 3, 1, 1, 5, 15, 31, 46, 51, 43, 27, 12, 3, 1, 1, 6, 21, 53, 98, 139, 155, 134, 88, 43, 16, 4, 1, 1, 7, 28, 83, 184, 319, 441, 486, 424, 293, 161, 68, 21, 4, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Also the number of k-subsets of {1,...,2n} with mean n.
LINKS
EXAMPLE
Triangle begins:
1
1 1 1
1 2 3 2 1
1 3 6 7 5 2 1
1 4 10 16 18 14 8 3 1
1 5 15 31 46 51 43 27 12 3 1
1 6 21 53 98 139 155 134 88 43 16 4 1
1 7 28 83 184 319 441 486 424 293 161 68 21 4 1
Row n = 3 counts the following subsets:
{0} {-1,1} {-1,0,1} {-2,-1,0,3} {-2,-1,0,1,2}
{-2,2} {-2,0,2} {-2,-1,1,2}
{-2,-1,3}
MATHEMATICA
Table[Length[Select[Subsets[Range[-n+1, n], {k}], Total[#]==0&]], {n, 6}, {k, 2n-1}]
CROSSREFS
Row lengths are A005408.
Row sums are A212352.
A007318 counts subsets by length.
A067538 counts partitions with integer mean.
A231147 counts subsets by median.
A327475 counts subsets with integer mean, median A000975.
A327481 counts subsets by mean.
Sequence in context: A333271 A208233 A176270 * A086437 A027907 A026323
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Apr 10 2023
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 August 18 11:57 EDT 2024. Contains 375267 sequences. (Running on oeis4.)