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.

A228860 Number of permutations i_1,...,i_n of 1,...,n with i_1 = 1 and i_n = n, and with the n adjacent sums i_1+i_2, i_2+i_3, ..., i_{n-1}+i_n, i_n+i_1 all coprime to n.

Table of values

n a(n)
1 1
2 1
3 0
4 1
5 2
6 1
7 40
8 36
9 144
10 78
11 126336
12 176
13 14035200
14 69480
15 779436
16 25401600
17 465334732800
18 1700352
19 127064889262080
20 1888106496
21 1479065243520
22 1774752094080
23 18353630943019008000
24 144127475712
25 116009818818379776000
26 30959322906758400
27 373881853408444416000

List of values

[1, 1, 0, 1, 2, 1, 40, 36, 144, 78, 126336, 176, 14035200, 69480, 779436, 25401600, 465334732800, 1700352, 127064889262080, 1888106496, 1479065243520, 1774752094080, 18353630943019008000, 144127475712, 116009818818379776000, 30959322906758400, 373881853408444416000]