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.

A303564 Number T(n,k) of derangements of [n] having exactly k peaks; triangle T(n,k), n>=0, 0<=k<=max(0,floor((n-1)/2)), read by rows.

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 1
5 3
6 6
7 5
8 33
9 6
10 11
11 152
12 102
13 21
14 663
15 1068
16 102
17 43
18 2778
19 9060
20 2952
21 85
22 11413
23 68250
24 50796
25 2952
26 171
27 46332
28 477978
29 679368
30 131112
31 341
32 186867
33 3192192
34 7824834
35 3349224
36 131112
37 683
38 750878
39 20648088
40 81751824
41 64791576
42 8271792

List of values

[1, 0, 1, 1, 1, 3, 6, 5, 33, 6, 11, 152, 102, 21, 663, 1068, 102, 43, 2778, 9060, 2952, 85, 11413, 68250, 50796, 2952, 171, 46332, 477978, 679368, 131112, 341, 186867, 3192192, 7824834, 3349224, 131112, 683, 750878, 20648088, 81751824, 64791576, 8271792]