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.

A245578 The number of permutations of {0,0,1,1,...,n-1,n-1} that begin with 0 and in which adjacent elements are adjacent mod n.

Table of values

n a(n)
2 1
3 10
4 18
5 22
6 32
7 38
8 50
9 58
10 72
11 82
12 98
13 110
14 128
15 142
16 162
17 178
18 200
19 218
20 242
21 262
22 288
23 310
24 338
25 362
26 392
27 418
28 450
29 478
30 512
31 542
32 578
33 610
34 648
35 682
36 722
37 758
38 800
39 838
40 882
41 922
42 968
43 1010
44 1058
45 1102
46 1152
47 1198
48 1250
49 1298
50 1352
51 1402
52 1458
53 1510
54 1568
55 1622
56 1682
57 1738
58 1800
59 1858
60 1922
61 1982
62 2048
63 2110

List of values

[1, 10, 18, 22, 32, 38, 50, 58, 72, 82, 98, 110, 128, 142, 162, 178, 200, 218, 242, 262, 288, 310, 338, 362, 392, 418, 450, 478, 512, 542, 578, 610, 648, 682, 722, 758, 800, 838, 882, 922, 968, 1010, 1058, 1102, 1152, 1198, 1250, 1298, 1352, 1402, 1458, 1510, 1568, 1622, 1682, 1738, 1800, 1858, 1922, 1982, 2048, 2110]