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.

A375623 Maximum value of F(p) = Sum (|i-j| - |p(i)-p(j)|)^2 where the sum is over all 1 <= i < j <= n, for all permutations p in the symmetric group S_n.

Table of values

n a(n)
0 0
1 0
2 0
3 2
4 12
5 30
6 72
7 132
8 240
9 380
10 600
11 870
12 1260
13 1722
14 2532
15 3080

List of values

[0, 0, 0, 2, 12, 30, 72, 132, 240, 380, 600, 870, 1260, 1722, 2532, 3080]