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.

A075851 Number of permutations s of {1,2,...,n} such that |s(i)-i|>2 for each i=1,2,...,n.

Table of values

n a(n)
0 1
1 0
2 0
3 0
4 0
5 0
6 1
7 8
8 112
9 1168
10 13365
11 159414
12 2036488
13 27780408
14 404351752
15 6263006598
16 102946702825
17 1790795492176
18 32880327473840
19 635630231970048
20 12907624693811937
21 274744151265431700
22 6117666413618771968
23 142238172767973342656

List of values

[1, 0, 0, 0, 0, 0, 1, 8, 112, 1168, 13365, 159414, 2036488, 27780408, 404351752, 6263006598, 102946702825, 1790795492176, 32880327473840, 635630231970048, 12907624693811937, 274744151265431700, 6117666413618771968, 142238172767973342656]