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!)
A326512 Number of set partitions of {1..n} where every block has the same average. 17
1, 1, 1, 2, 2, 5, 5, 18, 16, 75, 64, 405, 302, 2581, 1693, 19872 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
EXAMPLE
The a(1) = 1 through a(7) = 18 set partitions:
{1} {12} {123} {1234} {12345} {123456} {1234567}
{13}{2} {14}{23} {1245}{3} {1256}{34} {123567}{4}
{135}{24} {1346}{25} {12467}{35}
{15}{234} {16}{2345} {1267}{345}
{15}{24}{3} {16}{25}{34} {13457}{26}
{1357}{246}
{1456}{237}
{147}{2356}
{156}{2347}
{17}{23456}
{1267}{35}{4}
{1357}{26}{4}
{147}{26}{35}
{156}{237}{4}
{17}{2356}{4}
{17}{246}{35}
{17}{26}{345}
{17}{26}{35}{4}
MATHEMATICA
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
Table[Length[Select[sps[Range[n]], SameQ@@Mean/@#&]], {n, 0, 8}]
CROSSREFS
Sequence in context: A245850 A245844 A083849 * A325983 A063501 A103892
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jul 11 2019
EXTENSIONS
a(12)-a(15) from Alois P. Heinz, Jul 12 2019
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 11 05:15 EDT 2024. Contains 372388 sequences. (Running on oeis4.)