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.

A333706 Number T(n,k) of permutations p of [n] such that |p(i+k) - p(i)| <> k for i in [n-k]; triangle T(n,k), n>=0, 0<=k<=n, read by rows.

Table of values

n a(n)
0 1
1 0
2 1
3 0
4 0
5 2
6 0
7 0
8 4
9 6
10 0
11 2
12 16
13 20
14 24
15 0
16 14
17 44
18 80
19 108
20 120
21 0
22 90
23 200
24 384
25 544
26 672
27 720
28 0
29 646
30 1288
31 2240
32 3264
33 4128
34 4800
35 5040
36 0
37 5242
38 9512
39 15424
40 23040
41 28992
42 34752
43 38880
44 40320
45 0
46 47622
47 78652
48 123456
49 176832
50 231936
51 280512
52 323520
53 352800
54 362880

List of values

[1, 0, 1, 0, 0, 2, 0, 0, 4, 6, 0, 2, 16, 20, 24, 0, 14, 44, 80, 108, 120, 0, 90, 200, 384, 544, 672, 720, 0, 646, 1288, 2240, 3264, 4128, 4800, 5040, 0, 5242, 9512, 15424, 23040, 28992, 34752, 38880, 40320, 0, 47622, 78652, 123456, 176832, 231936, 280512, 323520, 352800, 362880]