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!)
A374680 Number of integer compositions of n whose leaders of anti-runs are strictly decreasing. 9
1, 1, 1, 3, 5, 8, 16, 31, 52, 98, 179, 323, 590, 1078, 1945, 3531, 6421, 11621, 21041, 38116, 68904, 124562, 225138, 406513, 733710, 1323803 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
The leaders of anti-runs in a sequence are obtained by splitting it into maximal consecutive anti-runs (sequences with no adjacent equal terms) and taking the first term of each.
LINKS
EXAMPLE
The a(0) = 1 through a(6) = 16 compositions:
() (1) (2) (3) (4) (5) (6)
(12) (13) (14) (15)
(21) (31) (23) (24)
(121) (32) (42)
(211) (41) (51)
(131) (123)
(212) (132)
(311) (141)
(213)
(231)
(312)
(321)
(411)
(1212)
(2112)
(2121)
MATHEMATICA
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n], Greater@@First/@Split[#, UnsameQ]&]], {n, 0, 15}]
CROSSREFS
For distinct but not necessarily decreasing leaders we have A374518.
For partitions instead of compositions we have A375133.
Other types of runs (instead of anti-):
- For leaders of identical runs we have A000041.
- For leaders of weakly increasing runs we have A188920.
- For leaders of weakly decreasing runs we have A374746.
- For leaders of strictly decreasing runs we have A374763.
- For leaders of strictly increasing runs we have A374689.
Other types of run-leaders (instead of strictly decreasing):
- For identical leaders we have A374517, ranks A374519.
- For distinct leaders we have A374518, ranks A374638.
- For weakly increasing leaders we have A374681.
- For strictly increasing leaders we have A374679.
- For weakly decreasing leaders we have A374682.
A003242 counts anti-runs, ranks A333489.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
A238424 counts partitions whose first differences are an anti-run.
A274174 counts contiguous compositions, ranks A374249.
Sequence in context: A141775 A056765 A080006 * A174011 A291223 A240532
KEYWORD
nonn,more,new
AUTHOR
Gus Wiseman, Aug 01 2024
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 8 03:39 EDT 2024. Contains 375018 sequences. (Running on oeis4.)