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.

A342585 Inventory sequence: record the number of zeros thus far in the sequence, then the number of ones thus far, then the number of twos thus far and so on, until a zero is recorded; the inventory then starts again, recording the number of zeros.

Table of values

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

List of values

[0, 1, 1, 0, 2, 2, 2, 0, 3, 2, 4, 1, 1, 0, 4, 4, 4, 1, 4, 0, 5, 5, 4, 1, 6, 2, 1, 0, 6, 7, 5, 1, 6, 3, 3, 1, 0, 7, 9, 5, 3, 6, 4, 4, 2, 0, 8, 9, 6, 4, 9, 4, 5, 2, 1, 3, 0, 9, 10, 7, 5, 10, 6, 6, 3, 1, 4, 2, 0, 10, 11, 8, 6, 11, 6, 9, 3, 2, 5, 3, 2, 0, 11, 11, 10]