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.

A152877 Triangle read by rows: T(n,k) is the number of permutations of {1,2,...,n} having k consecutive triples of the form (odd,even,odd) and (even,odd,even) (0<=k<=n-2).

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 2
5 16
6 0
7 8
8 60
9 24
10 24
11 12
12 288
13 144
14 216
15 0
16 72
17 1584
18 1296
19 1152
20 576
21 288
22 144
23 10368
24 9216
25 10368
26 4608
27 4608
28 0
29 1152
30 74880
31 83520
32 86400
33 60480
34 31680
35 17280
36 5760
37 2880
38 604800
39 748800
40 892800
41 576000
42 460800
43 172800
44 144000
45 0
46 28800

List of values

[1, 1, 2, 4, 2, 16, 0, 8, 60, 24, 24, 12, 288, 144, 216, 0, 72, 1584, 1296, 1152, 576, 288, 144, 10368, 9216, 10368, 4608, 4608, 0, 1152, 74880, 83520, 86400, 60480, 31680, 17280, 5760, 2880, 604800, 748800, 892800, 576000, 460800, 172800, 144000, 0, 28800]