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.

A289359 Image of 0 under repeated application of the morphism phi = {x -> x,x+1,x+2 if x mod 3 = 0; x -> x-1 if x mod 3 = 1; or x -> x+2 if x mod 3 = 2, for x = 0,1,2,3,...}.

Table of values

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

List of values

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