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.

A086595 Number of ways to arrange the numbers 1..n in a circle (up to direction) such that every two adjacent numbers are relatively prime.

Table of values

n a(n)
1 1
2 1
3 2
4 2
5 12
6 4
7 72
8 72
9 720
10 576
11 22032
12 7776
13 476928
14 400896
15 6352992
16 8515584
17 805146624
18 279023616
19 36481536000
20 23627980800
21 881012367360
22 1065509240832
23 192859121664000
24 65362194432000
25 10489384048435200
26 12214493322854400
27 981016943829811200
28 937734333109862400
29 268367392739686809600

List of values

[1, 1, 2, 2, 12, 4, 72, 72, 720, 576, 22032, 7776, 476928, 400896, 6352992, 8515584, 805146624, 279023616, 36481536000, 23627980800, 881012367360, 1065509240832, 192859121664000, 65362194432000, 10489384048435200, 12214493322854400, 981016943829811200, 937734333109862400, 268367392739686809600]