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.

A338738 Number of permutations p of [n] such that |p(i) - p(i-1)| <= |p(i+1) - p(i)|.

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 6
5 8
6 10
7 14
8 20
9 24
10 32
11 40
12 48
13 70
14 94
15 126
16 162
17 228
18 292
19 386
20 528
21 710
22 956
23 1298
24 1730
25 2342
26 3178
27 4192
28 5684
29 7720
30 10340
31 14002
32 18816
33 25372
34 34054

List of values

[1, 1, 2, 4, 6, 8, 10, 14, 20, 24, 32, 40, 48, 70, 94, 126, 162, 228, 292, 386, 528, 710, 956, 1298, 1730, 2342, 3178, 4192, 5684, 7720, 10340, 14002, 18816, 25372, 34054]