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.

A161502 a(n) is the smallest number of binary digits that when appended to the right side of the binary representation of n, forms a binary palindrome.

Table of values

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

List of values

[0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 2, 2, 1, 3, 0, 1, 0, 2, 3, 3, 0, 1, 2, 2, 1, 2, 0, 3, 2, 4, 0, 1, 0, 3, 4, 1, 3, 2, 3, 3, 2, 1, 4, 4, 0, 1, 2, 2, 1, 3, 0, 4, 1, 2, 3, 3, 2, 3, 1, 4, 3, 5, 0, 1, 0, 4, 5, 2, 4, 3, 4, 4, 0, 2, 5, 1, 4, 2, 3, 3, 2, 1, 5, 5, 0, 3, 4, 4, 3, 4, 2, 5, 0, 1, 2, 2, 1, 4, 0, 2, 4, 3, 4, 4, 3]