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.

A347564 Record the number of distinct terms seen thus far, then the number of distinct terms seen only once, then twice, and so on until recording a zero; whereupon repeat the count.

Table of values

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

List of values

[0, 1, 2, 0, 3, 3, 2, 0, 4, 2, 1, 2, 1, 0, 5, 2, 1, 0, 6, 3, 0, 7, 4, 1, 1, 0, 8, 4, 0, 9, 5, 1, 2, 0, 10, 5, 0, 11, 6, 1, 3, 1, 0, 12, 6, 0, 13, 7, 1, 3, 0, 14, 7, 0, 15, 8, 1, 4, 1, 1, 1, 0, 16, 8, 0, 17, 9, 1, 4, 0, 18, 9, 0, 19, 10, 1, 5, 1, 2, 0, 20, 10, 0]