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.

A219762 Start with 0; repeatedly apply the map {0->012, 1->120, 2->201} to the odd-numbered terms and {0->210, 1->021, 2->102} to the even-numbered terms.

Table of values

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

List of values

[0, 1, 2, 0, 2, 1, 2, 0, 1, 2, 1, 0, 2, 0, 1, 0, 2, 1, 2, 0, 1, 2, 1, 0, 1, 2, 0, 1, 0, 2, 1, 2, 0, 2, 1, 0, 2, 0, 1, 2, 1, 0, 1, 2, 0, 2, 1, 0, 2, 0, 1, 0, 2, 1, 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, 0, 2, 1, 0, 1, 2, 1, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 2, 1, 0, 2, 1, 2, 0]