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.

A304111 Partial sums of f(n) = (-1)^(1-A304109(n)).

Table of values

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

List of values

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