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.

A342242 For any n > 0, a(n) is the least positive number whose binary expansion is both a prefix and a suffix of the binary expansion of n; a(0) = 0.

Table of values

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

List of values

[0, 1, 2, 1, 4, 1, 6, 1, 8, 1, 2, 1, 12, 1, 14, 1, 16, 1, 2, 1, 20, 1, 2, 1, 24, 1, 26, 1, 28, 1, 30, 1, 32, 1, 2, 1, 4, 1, 2, 1, 40, 1, 2, 1, 44, 1, 2, 1, 48, 1, 50, 1, 52, 1, 6, 1, 56, 1, 58, 1, 60, 1, 62, 1, 64, 1, 2, 1, 4, 1, 2, 1, 72, 1, 2, 1, 4, 1, 2, 1]