A371822 Triangle read by rows. Row n is the lexicographically earliest permutation of [n] that can be obtained from row n-1 by inserting the element n and optional cyclic shifting to maximize the pattern density.
1, 1, 2, 3, 1, 2, 3, 1, 4, 2, 2, 5, 3, 1, 4, 2, 5, 3, 6, 1, 4, 3, 6, 1, 4, 7, 2, 5, 2, 5, 8, 3, 6, 1, 4, 7, 6, 1, 9, 4, 7, 2, 5, 8, 3, 7, 2, 10, 5, 8, 3, 6, 1, 9, 4, 7, 2, 10, 5, 8, 3, 11, 6, 1, 9, 4, 8, 3, 11, 6, 1, 9, 4, 12, 7, 2, 10, 5, 11, 6, 1, 9, 4, 12, 7, 2, 10, 5, 13, 8, 3, 11, 6, 1, 14, 9, 4, 12, 7, 2, 10, 5, 13, 8, 3
Offset: 1
Examples
The first 10 rows: 1 1, 2 3, 1, 2 3, 1, 4, 2 2, 5, 3, 1, 4 2, 5, 3, 6, 1, 4 3, 6, 1, 4, 7, 2, 5 2, 5, 8, 3, 6, 1, 4, 7 6, 1, 9, 4, 7, 2, 5, 8, 3 7, 2, 10, 5, 8, 3, 6, 1, 9, 4
Links
- Wikipedia, Superpattern.
Crossrefs
Extensions
Edited by Peter Munn, Jul 09 2024
Comments