login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A342860
Irregular table read by rows: T(n,k) is the number of permutations in S_n that have exactly k occurrences of the pattern 2413. 0 <= k <= A342854(n).
7
1, 1, 2, 6, 23, 1, 103, 9, 8, 512, 62, 82, 34, 28, 2, 2740, 402, 612, 384, 466, 94, 232, 42, 60, 8, 15485, 2593, 4187, 3036, 4356, 1746, 3132, 1064, 1918, 909, 654, 333, 612, 144, 104, 22, 24, 1, 91245, 16921, 28065, 21638, 33274, 17598, 31180, 12942, 24000, 14290, 15434, 7770, 15692, 5965, 6896, 3947, 5660, 2226, 3674, 1314, 1512, 516, 508, 204, 332, 37, 40
OFFSET
0,3
COMMENTS
Equivalently the table for the pattern 3142.
First column is A022558.
LINKS
Peter Kagey, Rows n = 0..13, flattened, based on Anders Kaseorg's Rust program in the Code Golf Stack Exchange link.
Anders Kaseorg, Answer: Patterns in Permutations, Code Golf Stack Exchange.
EXAMPLE
Triangle begins:
n\k| 0 1 2 3 4 5 6
---+------------------------------------------------------------------
0 | 1;
1 | 1;
2 | 2;
3 | 6;
4 | 23, 1;
5 | 103, 9, 8;
6 | 512, 62, 82, 34, 28, 2;
7 | 2740, 402, 612, 384, 466, 94, 232, ...
8 | 15485, 2593, 4187, 3036, 4356, 1746, 3132, ...
9 | 91245, 16921, 28065, 21638, 33274, 17598, 31180, ...
10 | 555662, 112196, 188514, 149946, 237128, 140954, 257686, ...
11 | 3475090, 755920, 1278590, 1036826, 1658064, 1041598, 1933438, ...
CROSSREFS
Analogous for other patterns: A008302 (12), A138159 (321), A263771 (312), A342840 (1342), A342861 (1324), A342862 (2143), A342863 (1243), A342864 (1432), A342865 (1234).
Sequence in context: A377029 A213134 A140837 * A342840 A342861 A342862
KEYWORD
nonn,tabf
AUTHOR
Peter Kagey, Mar 26 2021
STATUS
approved