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.

A318190 a(0) = 0, a(1) = 1; for n >= 1, a(2*n) = a(2*n-1) - 2*a(n), a(2*n+1) = 2*n - a(2*n).

Table of values

n a(n)
0 0
1 1
2 -1
3 3
4 5
5 -1
6 -7
7 13
8 3
9 5
10 7
11 3
12 17
13 -5
14 -31
15 45
16 39
17 -23
18 -33
19 51
20 37
21 -17
22 -23
23 45
24 11
25 13
26 23
27 3
28 65
29 -37
30 -127
31 157
32 79
33 -47
34 -1
35 35
36 101
37 -65
38 -167
39 205
40 131
41 -91
42 -57
43 99
44 145
45 -101
46 -191
47 237
48 215
49 -167
50 -193
51 243
52 197
53 -145
54 -151
55 205
56 75
57 -19
58 55
59 3
60 257
61 -197
62 -511
63 573
64 415
65 -351
66 -257
67 323
68 325

List of values

[0, 1, -1, 3, 5, -1, -7, 13, 3, 5, 7, 3, 17, -5, -31, 45, 39, -23, -33, 51, 37, -17, -23, 45, 11, 13, 23, 3, 65, -37, -127, 157, 79, -47, -1, 35, 101, -65, -167, 205, 131, -91, -57, 99, 145, -101, -191, 237, 215, -167, -193, 243, 197, -145, -151, 205, 75, -19, 55, 3, 257, -197, -511, 573, 415, -351, -257, 323, 325]