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.

A174708 The number of permutations p of {1,...,n} satisfying |p(i)-p(i+1)| is in {4,5} for i from 1 to n-1.

Table of values

n a(n)
1 1
2 0
3 0
4 0
5 0
6 0
7 0
8 2
9 18
10 12
11 0
12 0
13 0
14 0
15 0
16 0
17 30
18 136
19 112
20 0
21 0
22 0
23 0
24 0
25 0
26 400
27 1348
28 1352
29 408
30 180
31 120
32 180
33 408
34 1352
35 7356
36 19008
37 23028
38 16788
39 12630
40 11744
41 16742
42 31320
43 70256
44 181106
45 367560
46 503800
47 533504
48 546468
49 623546
50 881384
51 1468398
52 2697374
53 5164896
54 8976002
55 12977384

List of values

[1, 0, 0, 0, 0, 0, 0, 2, 18, 12, 0, 0, 0, 0, 0, 0, 30, 136, 112, 0, 0, 0, 0, 0, 0, 400, 1348, 1352, 408, 180, 120, 180, 408, 1352, 7356, 19008, 23028, 16788, 12630, 11744, 16742, 31320, 70256, 181106, 367560, 503800, 533504, 546468, 623546, 881384, 1468398, 2697374, 5164896, 8976002, 12977384]