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.

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

List of values

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