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.

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

List of values

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