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.

A333307 Lexicographically earliest sequence over {0,1,2} that has the shortest palindromic or square subsequence (see Comments for precise definition).

Table of values

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

List of values

[0, 1, 2, 0, 1, 1, 2, 0, 0, 1, 2, 0, 1, 1, 2, 2, 0, 1, 2, 0, 0, 1, 2, 2, 0, 1, 2, 0, 2, 2, 1, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 1, 2, 2, 0, 1, 2, 0, 0, 1, 2, 2, 0, 1, 2, 0, 2, 2, 1, 0, 2, 1, 1, 0, 2, 2, 1, 0, 0, 2, 1, 0, 2, 2, 1, 0, 0, 0, 2, 1, 0, 2]