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.

A359384 a(1) = 0. If a(n-1) is a first occurrence, a(n) = A000120(a(n-1)). Otherwise, if a(n-1) is a repeat of a prior terms, a(n) = number of indices j < n such that a(j) = a(n-1).

Table of values

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

List of values

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