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.

A104895 a(0)=0; thereafter a(2n) = -2*a(n), a(2n+1) = 2*a(n) - 1.

Table of values

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

List of values

[0, -1, -2, 1, -4, 3, 2, -3, -8, 7, 6, -7, 4, -5, -6, 5, -16, 15, 14, -15, 12, -13, -14, 13, 8, -9, -10, 9, -12, 11, 10, -11, -32, 31, 30, -31, 28, -29, -30, 29, 24, -25, -26, 25, -28, 27, 26, -27, 16, -17, -18, 17, -20, 19, 18, -19, -24, 23, 22, -23, 20, -21, -22, 21, -64, 63, 62, -63, 60, -61, -62, 61, 56, -57, -58, 57, -60, 59]