A335520 Number of (1,2,3)-matching permutations of the prime indices of n.
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, 0, 0, 0
Offset: 1
Keywords
Examples
The a(n) permutations for n = 30, 60, 120, 210, 180, 480: (123) (1123) (11123) (1234) (11223) (1111123) (1213) (11213) (1243) (11232) (1111213) (1231) (11231) (1324) (12123) (1111231) (12113) (1342) (12132) (1112113) (12131) (1423) (12213) (1112131) (12311) (2134) (12231) (1112311) (2314) (12312) (1121113) (2341) (12321) (1121131) (3124) (21123) (1121311) (4123) (21213) (1123111) (21231) (1211113) (1211131) (1211311) (1213111) (1231111)
Links
- Wikipedia, Permutation pattern
- Gus Wiseman, Sequences counting and ranking compositions by the patterns they match or avoid.
Crossrefs
Positions of nonzero terms are A000977.
These permutations are ranked by A335479.
These compositions are counted by A335514.
Patterns matching this pattern are counted by A335515.
The complement A335521 is the avoiding version.
Permutations of prime indices are counted by A008480.
Anti-run permutations of prime indices are counted by A335452.
Comments