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.

A065360 Alternating sum of "negabits". Replace (-2)^k with (-1)^k in negabinary expansion of n.

Table of values

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

List of values

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