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.

A053985 Replace 2^k with (-2)^k in binary expansion of n.

Table of values

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

List of values

[0, 1, -2, -1, 4, 5, 2, 3, -8, -7, -10, -9, -4, -3, -6, -5, 16, 17, 14, 15, 20, 21, 18, 19, 8, 9, 6, 7, 12, 13, 10, 11, -32, -31, -34, -33, -28, -27, -30, -29, -40, -39, -42, -41, -36, -35, -38, -37, -16, -15, -18, -17, -12, -11, -14, -13, -24, -23, -26, -25, -20, -19]