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.

A301572 a(n) = distance from n to nearest Fibbinary number (A003714).

Table of values

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

List of values

[0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 2, 3, 2, 1, 0, 0, 0, 1, 0, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 2, 3, 2, 1, 0, 0, 0, 1, 0, 0]