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.

A383340 a(1)=1; thereafter if a(n-1) is a first occurrence, then a(n) is the number of first occurrences in the sequence thus far. Otherwise, a(n) is the number of terms that are the same number of distinct values away from their previous last occurrence as a(n-1).

Table of values

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

List of values

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