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.

A375625 Number of distinct values taken by 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 1
1 1
2 1
3 2
4 4
5 10
6 17
7 51
8 55
9 160
10 140
11 389
12 300
13 795
14 566
15 1290

List of values

[1, 1, 1, 2, 4, 10, 17, 51, 55, 160, 140, 389, 300, 795, 566, 1290]