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.

A307269 Number of permutations p of [n] such that |p(i) - p(i-1)| is in {2,5} for all i from 2 to n.

Table of values

n a(n)
0 1
1 1
2 0
3 0
4 0
5 0
6 2
7 14
8 12
9 8
10 28
11 58
12 44
13 120
14 254
15 226
16 344
17 932
18 1262
19 1380
20 2958
21 5006
22 5632
23 9496
24 18204
25 23756
26 32758
27 59992
28 90494
29 118740
30 196318
31 320814
32 437270
33 653770
34 1077580
35 1570054
36 2233920
37 3551168
38 5426452
39 7714408
40 11709864

List of values

[1, 1, 0, 0, 0, 0, 2, 14, 12, 8, 28, 58, 44, 120, 254, 226, 344, 932, 1262, 1380, 2958, 5006, 5632, 9496, 18204, 23756, 32758, 59992, 90494, 118740, 196318, 320814, 437270, 653770, 1077580, 1570054, 2233920, 3551168, 5426452, 7714408, 11709864]