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!)
A320438 Irregular triangle read by rows where T(n,d) is the number of set partitions of {1,...n} with all block-sums equal to d, where d is a divisor of 1 + ... + n. 0
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 3, 7, 1, 1, 9, 1, 1, 1, 1, 43, 35, 1, 1, 102, 62, 1, 1, 1, 1, 68, 595, 1, 1, 17, 187, 871, 1480, 361, 1, 1, 2650, 657, 1, 1, 9294, 1, 1, 23728, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
EXAMPLE
Triangle begins:
1
1
1 1
1 1
1 1
1 1
1 4 1
1 3 7 1
1 9 1
1 1
1 43 35 1
1 102 62 1
1 1
1 68 595 1
1 17 187 871 1480 361 1
1 2650 657 1
Row 8 counts the following set partitions:
{{18}{27}{36}{45}} {{1236}{48}{57}} {{12348}{567}} {{12345678}}
{{138}{246}{57}} {{12357}{468}}
{{156}{237}{48}} {{12456}{378}}
{{1278}{3456}}
{{1368}{2457}}
{{1458}{2367}}
{{1467}{2358}}
MATHEMATICA
spsu[_, {}]:={{}}; spsu[foo_, set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@spsu[Select[foo, Complement[#, Complement[set, s]]=={}&], Complement[set, s]]]/@Cases[foo, {i, ___}];
Table[Length[spsu[Select[Subsets[Range[n]], Total[#]==d&], Range[n]]], {n, 12}, {d, Select[Divisors[n*(n+1)/2], #>=n&]}]
CROSSREFS
Row lengths are A164978. Row sums are A035470.
Sequence in context: A261790 A174834 A100642 * A255511 A014518 A316584
KEYWORD
nonn,tabf,more
AUTHOR
Gus Wiseman, Jan 08 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 April 25 11:30 EDT 2024. Contains 371967 sequences. (Running on oeis4.)