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.

A102899 a(n) = ceiling(n/3)^2 - floor(n/3)^2.

Table of values

n a(n)
0 0
1 1
2 1
3 0
4 3
5 3
6 0
7 5
8 5
9 0
10 7
11 7
12 0
13 9
14 9
15 0
16 11
17 11
18 0
19 13
20 13
21 0
22 15
23 15
24 0
25 17
26 17
27 0
28 19
29 19
30 0
31 21
32 21
33 0
34 23
35 23
36 0
37 25
38 25
39 0
40 27
41 27
42 0
43 29
44 29
45 0
46 31
47 31
48 0
49 33
50 33
51 0
52 35
53 35
54 0
55 37
56 37
57 0
58 39
59 39
60 0
61 41
62 41
63 0
64 43
65 43
66 0
67 45
68 45
69 0
70 47
71 47
72 0
73 49
74 49
75 0
76 51
77 51
78 0
79 53
80 53
81 0

List of values

[0, 1, 1, 0, 3, 3, 0, 5, 5, 0, 7, 7, 0, 9, 9, 0, 11, 11, 0, 13, 13, 0, 15, 15, 0, 17, 17, 0, 19, 19, 0, 21, 21, 0, 23, 23, 0, 25, 25, 0, 27, 27, 0, 29, 29, 0, 31, 31, 0, 33, 33, 0, 35, 35, 0, 37, 37, 0, 39, 39, 0, 41, 41, 0, 43, 43, 0, 45, 45, 0, 47, 47, 0, 49, 49, 0, 51, 51, 0, 53, 53, 0]