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.

A181372 Square array read by antidiagonals: a(p,n) is the number of inversions in all p-ary words of length n on {0,1,2,...,p-1} (p>=2, n>=2).

Table of values

n a(n)
2 1
3 3
4 6
5 6
6 27
7 24
8 10
9 72
10 162
11 80
12 15
13 150
14 576
15 810
16 240
17 21
18 270
19 1500
20 3840
21 3645
22 672
23 28
24 441
25 3240
26 12500
27 23040
28 15309
29 1792
30 36
31 672
32 6174
33 32400
34 93750
35 129024
36 61236
37 4608
38 45
39 972
40 10752
41 72030
42 291600
43 656250
44 688128
45 236196
46 11520

List of values

[1, 3, 6, 6, 27, 24, 10, 72, 162, 80, 15, 150, 576, 810, 240, 21, 270, 1500, 3840, 3645, 672, 28, 441, 3240, 12500, 23040, 15309, 1792, 36, 672, 6174, 32400, 93750, 129024, 61236, 4608, 45, 972, 10752, 72030, 291600, 656250, 688128, 236196, 11520]