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!)
A329741 Number of compositions of n whose multiplicities cover an initial interval of positive integers. 7
1, 1, 1, 3, 6, 11, 14, 34, 52, 114, 225, 464, 539, 1183, 1963, 3753, 6120, 11207, 19808, 38254, 77194, 147906, 224853, 374216, 611081, 1099933, 2129347, 3336099, 5816094, 9797957, 17577710, 29766586, 53276392, 93139668, 163600815, 324464546, 637029845, 1010826499 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
A composition of n is a finite sequence of positive integers with sum n.
LINKS
EXAMPLE
The a(1) = 1 through a(6) = 14 compositions:
(1) (2) (3) (4) (5) (6)
(1,2) (1,3) (1,4) (1,5)
(2,1) (3,1) (2,3) (2,4)
(1,1,2) (3,2) (4,2)
(1,2,1) (4,1) (5,1)
(2,1,1) (1,1,3) (1,1,4)
(1,2,2) (1,2,3)
(1,3,1) (1,3,2)
(2,1,2) (1,4,1)
(2,2,1) (2,1,3)
(3,1,1) (2,3,1)
(3,1,2)
(3,2,1)
(4,1,1)
MATHEMATICA
normQ[m_]:=Or[m=={}, Union[m]==Range[Max[m]]];
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], normQ[Length/@Split[Sort[#]]]&]], {n, 20}]
CROSSREFS
Looking at run-lengths instead of multiplicities gives A329766.
The complete case is A329748.
Complete compositions are A107429.
Sequence in context: A015823 A049620 A350438 * A310096 A310097 A310098
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 20 2019
EXTENSIONS
a(0), a(21)-a(37) from Alois P. Heinz, Nov 21 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 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)