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.

A145893 Triangle read by rows: T(n,k) is the number of permutations p of {1,2,...,n} such that j and p(j) are of opposite parities for k values of j (0<=k<=n).

Table of values

n a(n)
0 1
1 1
2 0
3 1
4 0
5 1
6 2
7 0
8 4
9 0
10 4
11 0
12 16
13 0
14 4
15 12
16 0
17 72
18 0
19 36
20 0
21 36
22 0
23 324
24 0
25 324
26 0
27 36
28 144
29 0
30 1728
31 0
32 2592
33 0
34 576
35 0
36 576
37 0
38 9216
39 0
40 20736
41 0
42 9216
43 0
44 576
45 2880
46 0
47 57600
48 0
49 172800
50 0
51 115200
52 0
53 14400
54 0
55 14400
56 0
57 360000
58 0
59 1440000
60 0
61 1440000
62 0
63 360000
64 0
65 14400

List of values

[1, 1, 0, 1, 0, 1, 2, 0, 4, 0, 4, 0, 16, 0, 4, 12, 0, 72, 0, 36, 0, 36, 0, 324, 0, 324, 0, 36, 144, 0, 1728, 0, 2592, 0, 576, 0, 576, 0, 9216, 0, 20736, 0, 9216, 0, 576, 2880, 0, 57600, 0, 172800, 0, 115200, 0, 14400, 0, 14400, 0, 360000, 0, 1440000, 0, 1440000, 0, 360000, 0, 14400]