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.

A303534 Amount by which n exceeds the largest binary palindrome less than or equal to n.

Table of values

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

List of values

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