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.

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

Table of values

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

List of values

[0, 1, 0, 0, 1, 3, 3, 4, 3, 3, 1, 0, 0, 1, 0, 0, 1, 3, 3, 4, 6, 9, 10, 12, 12, 13, 12, 12, 13, 15, 15, 16, 15, 15, 13, 12, 12, 13, 12, 12, 10, 9, 6, 4, 3, 3, 1, 0, 0, 1, 0, 0, 1, 3, 3, 4, 3, 3, 1, 0, 0, 1, 0, 0, 1, 3, 3, 4, 6, 9, 10, 12, 12, 13, 12, 12, 13, 15, 15, 16, 18, 21, 22, 24, 27, 31, 33]