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.

A129118 For each permutation p of {1,2,...,n} define minabsjump(p) = min(|p(i) - i|, 1<=i<=n); a(n) is the sum of minabsjumps of all p.

Table of values

n a(n)
1 0
2 1
3 2
4 10
5 48
6 295
7 2068
8 16654
9 150382
10 1508500
11 16631696
12 199966907
13 2603709640
14 36501212971
15 548150650582
16 8779185528284
17 149376644391508
18 2690852138104504
19 51161190374132154
20 1023850096381041159
21 21512688329462044264

List of values

[0, 1, 2, 10, 48, 295, 2068, 16654, 150382, 1508500, 16631696, 199966907, 2603709640, 36501212971, 548150650582, 8779185528284, 149376644391508, 2690852138104504, 51161190374132154, 1023850096381041159, 21512688329462044264]