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.

A333596 a(0) = 0; for n > 0, a(n) = a(n-1) + (number of 1's and 3's in base-4 representation of n) - (number of 0's and 2's in base-4 representation of n).

Table of values

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

List of values

[0, 1, 0, 1, 1, 3, 3, 5, 3, 3, 1, 1, 1, 3, 3, 5, 4, 5, 4, 5, 6, 9, 10, 13, 12, 13, 12, 13, 14, 17, 18, 21, 18, 17, 14, 13, 12, 13, 12, 13, 10, 9, 6, 5, 4, 5, 4, 5, 4, 5, 4, 5, 6, 9, 10, 13, 12, 13, 12, 13, 14, 17, 18, 21, 19, 19, 17, 17, 17, 19, 19, 21, 19, 19]