cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A375297 Number of integer compositions of n matching both of the dashed patterns 23-1 and 1-32.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 21, 68, 199, 545, 1410, 3530, 8557, 20255, 46968, 107135, 240927, 535379, 1177435, 2566618, 5551456
Offset: 0

Views

Author

Gus Wiseman, Aug 23 2024

Keywords

Comments

Also the number of integer compositions of n whose leaders of maximal weakly increasing runs are not weakly decreasing and whose reverse satisfies the same condition.

Examples

			The a(0) = 0 through a(11) = 21 compositions:
  .  .  .  .  .  .  .  .  .  (12321)  (1342)    (1352)
                                      (2431)    (2531)
                                      (12421)   (11342)
                                      (13231)   (12431)
                                      (112321)  (12521)
                                      (123211)  (13241)
                                                (13421)
                                                (14231)
                                                (23132)
                                                (24311)
                                                (112421)
                                                (113231)
                                                (122321)
                                                (123212)
                                                (123221)
                                                (124211)
                                                (132311)
                                                (212321)
                                                (1112321)
                                                (1123211)
                                                (1232111)
		

Crossrefs

For leaders of identical runs we have A332834.
For just one of the two conditions we have A374636, ranks A375137/A375138.
These compositions are ranked by A375407.
A003242 counts anti-runs, ranks A333489.
A011782 counts compositions.
A106356 counts compositions by number of maximal anti-runs.
A238130, A238279, A333755 count compositions by number of runs.
A274174 counts contiguous compositions, ranks A374249.
A335456 counts patterns matched by compositions.

Programs

  • Mathematica
    Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], MatchQ[#,{_,y_,z_,_,x_,_}/;x_,x_,_,z_,y_,_}/;x
    				
Showing 1-1 of 1 results.