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.

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

Table of values

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

List of values

[0, 1, 1, 0, 0, 2, 2, 6, 6, 8, 8, 6, 6, 8, 8, 2, 2, 4, 4, 2, 2, 4, 4, 10, 10, 12, 12, 10, 10, 12, 12, 26, 26, 28, 28, 26, 26, 28, 28, 34, 34, 36, 36, 34, 34, 36, 36, 26, 26, 28, 28, 26, 26, 28, 28, 34, 34, 36, 36, 34, 34, 36, 36, 10, 10, 12, 12, 10, 10, 12, 12, 18, 18, 20, 20, 18, 18, 20, 20]