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.

A368958 Number of permutations of [n] where each pair of adjacent elements is coprime and does not differ by a prime.

Table of values

n a(n)
0 1
1 1
2 2
3 2
4 2
5 10
6 4
7 28
8 6
9 42
10 40
11 348
12 42
13 1060
14 226
15 998
16 886
17 21660
18 690
19 57696
20 4344
21 26660
22 22404
23 1091902
24 12142
25 1770008

List of values

[1, 1, 2, 2, 2, 10, 4, 28, 6, 42, 40, 348, 42, 1060, 226, 998, 886, 21660, 690, 57696, 4344, 26660, 22404, 1091902, 12142, 1770008]