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.

A190431 a(n) = [(b*n+c)*r] - b*[n*r] - [c*r], where (r,b,c)=(golden ratio,3,1) and []=floor.

Table of values

n a(n)
1 2
2 1
3 3
4 2
5 0
6 2
7 1
8 3
9 2
10 1
11 3
12 1
13 0
14 2
15 1
16 3
17 2
18 0
19 2
20 1
21 3
22 2
23 1
24 3
25 1
26 0
27 2
28 1
29 3
30 2
31 1
32 2
33 1
34 0
35 2
36 1
37 3
38 2
39 0
40 2
41 1
42 3
43 2
44 1
45 3
46 1
47 0
48 2
49 1
50 3
51 2
52 1
53 2
54 1
55 3
56 2
57 1
58 3
59 2
60 0
61 2
62 1
63 3
64 2
65 1
66 2
67 1
68 0
69 2
70 1
71 3
72 2
73 0
74 2
75 1
76 3
77 2
78 1
79 3
80 1
81 0
82 2
83 1
84 3
85 2
86 1
87 2
88 1
89 0
90 2
91 1
92 3
93 2
94 0
95 2
96 1
97 3
98 2
99 1
100 3
101 1
102 0
103 2
104 1
105 3
106 2
107 1
108 2
109 1
110 3
111 2
112 1
113 3
114 1
115 0
116 2
117 1
118 3
119 2
120 1
121 2
122 1
123 0
124 2
125 1
126 3
127 2
128 0
129 2
130 1
131 3
132 2
133 1
134 3
135 1
136 0

List of values

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