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.

A296050 Number of permutations p of [n] such that min_{j=1..n} |p(j)-j| = 1.

Table of values

n a(n)
0 0
1 0
2 1
3 2
4 8
5 40
6 236
7 1648
8 13125
9 117794
10 1175224
11 12903874
12 154615096
13 2007498192
14 28075470833
15 420753819282
16 6726830163592
17 114278495205524
18 2055782983578788
19 39039148388975552
20 780412763620655061
21 16381683795665956242
22 360258256118419518680
23 8283042472303599966974

List of values

[0, 0, 1, 2, 8, 40, 236, 1648, 13125, 117794, 1175224, 12903874, 154615096, 2007498192, 28075470833, 420753819282, 6726830163592, 114278495205524, 2055782983578788, 39039148388975552, 780412763620655061, 16381683795665956242, 360258256118419518680, 8283042472303599966974]