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.

A095698 Number of permutations of {1,2,3,...,n} where, for 1 < i <= n, the i-th number has maximized sum of the i-1 absolute differences from all previous numbers of the permutation.

Table of values

n a(n)
1 1
2 2
3 4
4 6
5 14
6 18
7 46
8 54
9 146
10 162
11 454
12 486
13 1394
14 1458
15 4246
16 4374
17 12866
18 13122
19 38854
20 39366
21 117074
22 118098
23 352246
24 354294
25 1058786
26 1062882
27 3180454
28 3188646
29 9549554
30 9565938
31 28665046
32 28697814
33 86027906
34 86093442
35 258149254

List of values

[1, 2, 4, 6, 14, 18, 46, 54, 146, 162, 454, 486, 1394, 1458, 4246, 4374, 12866, 13122, 38854, 39366, 117074, 118098, 352246, 354294, 1058786, 1062882, 3180454, 3188646, 9549554, 9565938, 28665046, 28697814, 86027906, 86093442, 258149254]