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.

A298307 Start with a(0) = 1 and add at step n >= 0 the term 1 at position floor(4*(n+a(n))/3).

Table of values

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

List of values

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