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.

A305615 Next term is the largest earlier term that would not create a repetition of an earlier subsequence of length 2, if such a number exists; otherwise it is the smallest nonnegative number not yet in the sequence.

Table of values

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

List of values

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