A335550 Number of minimal normal patterns avoided by the prime indices of n in increasing or decreasing order, counting multiplicity.
1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 4, 4, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3, 3, 3, 4, 3, 3
Offset: 1
Examples
The a(12) = 4 minimal patterns avoiding (1,1,2) are: (2,1), (1,1,1), (1,2,2), (1,2,3). The a(30) = 3 minimal patterns avoiding (1,2,3) are: (1,1), (2,1), (1,2,3,4).
Links
- Wikipedia, Permutation pattern
- Gus Wiseman, Sequences counting and ranking compositions by the patterns they match or avoid.
Crossrefs
The version for standard compositions is A335465.
Patterns are counted by A000670.
Sum of prime indices is A056239.
Each number's prime indices are given in the rows of A112798.
Patterns are ranked by A333217.
Patterns matched by compositions are counted by A335456.
Patterns matched by prime indices are counted by A335549.
Patterns matched by partitions are counted by A335837.
Formula
It appears that for n > 1, a(n) = 3 if n is a power of a squarefree number (A072774), and a(n) = 4 otherwise.
Comments