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.

A178517 Triangle read by rows: T(n,k) is the number of non-derangement permutations of {1,2,...,n} having genus k (see first comment for definition of genus).

Table of values

n a(n)
1 1
2 1
3 0
4 4
5 0
6 0
7 11
8 4
9 0
10 0
11 36
12 40
13 0
14 0
15 0
16 117
17 290
18 48
19 0
20 0
21 0
22 393
23 1785
24 1008
25 0
26 0
27 0
28 0
29 1339
30 9996
31 12712
32 1440
33 0
34 0
35 0
36 0
37 4630
38 52584
39 123858
40 48312
41 0
42 0
43 0
44 0
45 0
46 16193
47 264720
48 1027446
49 904840
50 80640
51 0
52 0
53 0
54 0
55 0
56 57201
57 1290135
58 7627158
59 12449800
60 3807936
61 0

List of values

[1, 1, 0, 4, 0, 0, 11, 4, 0, 0, 36, 40, 0, 0, 0, 117, 290, 48, 0, 0, 0, 393, 1785, 1008, 0, 0, 0, 0, 1339, 9996, 12712, 1440, 0, 0, 0, 0, 4630, 52584, 123858, 48312, 0, 0, 0, 0, 0, 16193, 264720, 1027446, 904840, 80640, 0, 0, 0, 0, 0, 57201, 1290135, 7627158, 12449800, 3807936, 0]