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.

A309217 The sequence is {a(n), n>=0}, the concatenation of the binary expansions of the absolute values |a(n)| is {b(n), n>=0}; start with a(0)=0; thereafter a(n) = a(n-1)+n if b(n-1)=0, otherwise a(n) = a(n-1)-n.

Table of values

n a(n)
0 0
1 1
2 -1
3 -4
4 -8
5 -3
6 3
7 -4
8 4
9 13
10 23
11 12
12 0
13 -13
14 -27
15 -42
16 -26
17 -9
18 -27
19 -8
20 12
21 -9
22 -31
23 -8
24 -32
25 -57
26 -31
27 -58
28 -86
29 -115
30 -145
31 -176
32 -144
33 -111
34 -77
35 -112
36 -148
37 -111
38 -149
39 -188
40 -228
41 -187
42 -229
43 -272
44 -316
45 -271
46 -317
47 -270
48 -318
49 -269
50 -319
51 -370
52 -318
53 -371
54 -317
55 -372
56 -316

List of values

[0, 1, -1, -4, -8, -3, 3, -4, 4, 13, 23, 12, 0, -13, -27, -42, -26, -9, -27, -8, 12, -9, -31, -8, -32, -57, -31, -58, -86, -115, -145, -176, -144, -111, -77, -112, -148, -111, -149, -188, -228, -187, -229, -272, -316, -271, -317, -270, -318, -269, -319, -370, -318, -371, -317, -372, -316]