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.

A271372 Total number of inversions in all compositions of n into distinct parts.

Table of values

n a(n)
0 0
1 0
2 0
3 1
4 1
5 2
6 11
7 12
8 21
9 31
10 112
11 122
12 212
13 294
14 456
15 1147
16 1381
17 2144
18 3059
19 4494
20 6081
21 13597
22 15928
23 24716
24 33728
25 49260
26 65016
27 93229
28 169249
29 210206
30 304979
31 417600
32 584037
33 779731
34 1076824
35 1409102
36 2418068
37 2950722
38 4213584
39 5581351
40 7779829

List of values

[0, 0, 0, 1, 1, 2, 11, 12, 21, 31, 112, 122, 212, 294, 456, 1147, 1381, 2144, 3059, 4494, 6081, 13597, 15928, 24716, 33728, 49260, 65016, 93229, 169249, 210206, 304979, 417600, 584037, 779731, 1076824, 1409102, 2418068, 2950722, 4213584, 5581351, 7779829]