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.

A097898 Triangle read by rows: T(n,k) is the number of permutations of [n] with k runs of length 1. For example, 457/3/26/1 has two runs of length 1: 3 and 1.

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 0
5 1
6 1
7 4
8 0
9 1
10 6
11 6
12 11
13 0
14 1
15 19
16 51
17 23
18 26
19 0
20 1
21 109
22 212
23 269
24 72
25 57
26 0
27 1
28 588
29 1571
30 1419
31 1140
32 201
33 120
34 0
35 1
36 4033
37 10470
38 13343
39 7432
40 4272
41 522
42 247
43 0
44 1
45 29485
46 87672
47 107853
48 87552
49 33683
50 14841
51 1291
52 502
53 0
54 1
55 246042
56 763612

List of values

[1, 0, 1, 1, 0, 1, 1, 4, 0, 1, 6, 6, 11, 0, 1, 19, 51, 23, 26, 0, 1, 109, 212, 269, 72, 57, 0, 1, 588, 1571, 1419, 1140, 201, 120, 0, 1, 4033, 10470, 13343, 7432, 4272, 522, 247, 0, 1, 29485, 87672, 107853, 87552, 33683, 14841, 1291, 502, 0, 1, 246042, 763612]