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.

A078603 Number of ways of arranging the numbers 1..n in a circle so that adjacent numbers do not differ by 1 mod n.

Table of values

n a(n)
1 1
2 0
3 0
4 0
5 2
6 6
7 46
8 354
9 3106
10 29926
11 315862
12 3628906
13 45132474
14 604534846
15 8680957902
16 133082437730
17 2169964347282
18 37505486702678
19 685046187718022
20 13186335387855770
21 266816610979894058
22 5662225862272325550

List of values

[1, 0, 0, 0, 2, 6, 46, 354, 3106, 29926, 315862, 3628906, 45132474, 604534846, 8680957902, 133082437730, 2169964347282, 37505486702678, 685046187718022, 13186335387855770, 266816610979894058, 5662225862272325550]