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.

A170942 Take the permutations of lengths 1, 2, 3, ... arranged lexicographically, and replace each permutation with the number of its fixed points.

Table of values

n a(n)
1 1
2 2
3 0
4 3
5 1
6 1
7 0
8 0
9 1
10 4
11 2
12 2
13 1
14 1
15 2
16 2
17 0
18 1
19 0
20 0
21 1
22 1
23 0
24 2
25 1
26 0
27 0
28 0
29 1
30 1
31 2
32 0
33 0
34 5
35 3
36 3
37 2
38 2
39 3
40 3
41 1
42 2
43 1
44 1
45 2
46 2
47 1
48 3
49 2
50 1
51 1
52 1
53 2
54 2
55 3
56 1
57 1
58 3
59 1
60 1
61 0
62 0
63 1
64 2
65 0
66 1
67 0
68 0
69 1
70 1
71 0
72 2
73 1
74 0
75 0
76 0
77 1
78 1
79 2
80 0
81 0
82 2
83 0
84 1
85 0
86 0
87 1
88 3
89 1
90 2
91 1
92 1
93 2
94 1
95 0
96 1
97 0
98 0
99 0
100 0
101 1
102 0
103 1
104 0
105 0

List of values

[1, 2, 0, 3, 1, 1, 0, 0, 1, 4, 2, 2, 1, 1, 2, 2, 0, 1, 0, 0, 1, 1, 0, 2, 1, 0, 0, 0, 1, 1, 2, 0, 0, 5, 3, 3, 2, 2, 3, 3, 1, 2, 1, 1, 2, 2, 1, 3, 2, 1, 1, 1, 2, 2, 3, 1, 1, 3, 1, 1, 0, 0, 1, 2, 0, 1, 0, 0, 1, 1, 0, 2, 1, 0, 0, 0, 1, 1, 2, 0, 0, 2, 0, 1, 0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0]