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.

A152660 Triangle read by rows: T(n,k) is the number of permutations of [n] for which k is the maximal number of initial entries whose parities alternate (1 <= k <= n).

Table of values

n a(n)
1 1
2 0
3 2
4 2
5 2
6 2
7 8
8 8
9 0
10 8
11 48
12 36
13 12
14 12
15 12
16 288
17 216
18 72
19 72
20 0
21 72
22 2160
23 1440
24 576
25 432
26 144
27 144
28 144
29 17280
30 11520
31 4608
32 3456
33 1152
34 1152
35 0
36 1152
37 161280
38 100800
39 43200
40 28800
41 11520
42 8640
43 2880
44 2880
45 2880
46 1612800
47 1008000
48 432000
49 288000
50 115200
51 86400
52 28800
53 28800
54 0
55 28800

List of values

[1, 0, 2, 2, 2, 2, 8, 8, 0, 8, 48, 36, 12, 12, 12, 288, 216, 72, 72, 0, 72, 2160, 1440, 576, 432, 144, 144, 144, 17280, 11520, 4608, 3456, 1152, 1152, 0, 1152, 161280, 100800, 43200, 28800, 11520, 8640, 2880, 2880, 2880, 1612800, 1008000, 432000, 288000, 115200, 86400, 28800, 28800, 0, 28800]