cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A129178 Triangle read by rows: T(n,k) is the number of permutations p of {1,2,...,n} such that invc(p)=k (n >= 0; 0 <= k <= (n-1)(n-2)/2) (see comment for invc definition).

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 2
5 8
6 8
7 6
8 2
9 16
10 24
11 28
12 26
13 16
14 8
15 2
16 32
17 64
18 96
19 120
20 126
21 110
22 82
23 52
24 26
25 10
26 2
27 64
28 160
29 288
30 432
31 564
32 658
33 680
34 638
35 542
36 416
37 284
38 172
39 90
40 38
41 12
42 2
43 128
44 384
45 800
46 1376
47 2072
48 2824
49 3526
50 4058
51 4344
52 4346
53 4066
54 3562
55 2912
56 2218
57 1566
58 1016
59 598

List of values

[1, 1, 2, 4, 2, 8, 8, 6, 2, 16, 24, 28, 26, 16, 8, 2, 32, 64, 96, 120, 126, 110, 82, 52, 26, 10, 2, 64, 160, 288, 432, 564, 658, 680, 638, 542, 416, 284, 172, 90, 38, 12, 2, 128, 384, 800, 1376, 2072, 2824, 3526, 4058, 4344, 4346, 4066, 3562, 2912, 2218, 1566, 1016, 598]