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.

A086713 A squarefree sequence: define a mapping from the set of strings over the alphabet {0,1,2} by f(0)=01201, f(1)=020121, f(2)=0212021 and f of the concatenation of s and t is the concatenation of f(s) and f(t). Then each of 0, f(0), f(f(0)), ... is an initial substring of the next; their limit is the infinite sequence given above.

Table of values

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

List of values

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