A344654 Number of integer partitions of n of which every permutation has a consecutive monotone triple, i.e., a triple (..., x, y, z, ...) such that either x <= y <= z or x >= y >= z.
0, 0, 0, 1, 1, 2, 4, 5, 7, 11, 16, 20, 28, 37, 50, 65, 84, 106, 140, 175, 222, 277, 350, 432, 539, 663, 819, 999, 1225, 1489, 1816, 2192, 2653, 3191, 3846, 4603, 5516, 6578, 7852, 9327, 11083, 13120, 15532, 18328, 21620, 25430, 29904, 35071, 41110, 48080
Offset: 0
Keywords
Examples
The a(3) = 1 through a(9) = 11 partitions: (111) (1111) (2111) (222) (2221) (2222) (333) (11111) (3111) (4111) (5111) (3222) (21111) (31111) (41111) (6111) (111111) (211111) (221111) (22221) (1111111) (311111) (51111) (2111111) (321111) (11111111) (411111) (2211111) (3111111) (21111111) (111111111)
Links
- Joseph Likar, Table of n, a(n) for n = 0..1000
Crossrefs
The complement is counted by A344740.
A001250 counts wiggly permutations.
A003242 counts anti-run compositions.
A344604 counts wiggly compositions with twins.
A344605 counts wiggly patterns with twins.
A344606 counts wiggly permutations of prime indices with twins.
A344614 counts compositions with no consecutive strictly monotone triple.
A345164 counts wiggly permutations of prime indices.
A345192 counts non-wiggly compositions.
Programs
Extensions
a(26)-a(32) from Robert Price, Jun 22 2021
a(33) onwards from Joseph Likar, Sep 06 2023
Comments