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.

A075866 Number of permutations s of {1,2,...,n} such that |s(i)-i| for i=1,2,...,n are all distinct.

Table of values

n a(n)
0 1
1 1
2 0
3 0
4 4
5 4
6 0
7 0
8 32
9 96
10 0
11 0
12 992
13 2512
14 0
15 0
16 50512
17 144144
18 0
19 0
20 3717888
21 11068560
22 0
23 0
24 378849504
25 1269763552
26 0
27 0
28 51487458416
29 181839037824
30 0
31 0

List of values

[1, 1, 0, 0, 4, 4, 0, 0, 32, 96, 0, 0, 992, 2512, 0, 0, 50512, 144144, 0, 0, 3717888, 11068560, 0, 0, 378849504, 1269763552, 0, 0, 51487458416, 181839037824, 0, 0]