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.

A163381 a(n) = the (decimal equivalent of the) smallest integer that can be made by rotating the binary digits of n any number of positions to the left or right. a(n) in binary may contain fewer digits, after leading 0's are removed, than n written in binary has.

Table of values

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

List of values

[1, 1, 3, 1, 3, 3, 7, 1, 3, 5, 7, 3, 7, 7, 15, 1, 3, 5, 7, 5, 11, 11, 15, 3, 7, 11, 15, 7, 15, 15, 31, 1, 3, 5, 7, 9, 11, 13, 15, 5, 13, 21, 23, 11, 27, 23, 31, 3, 7, 11, 15, 13, 23, 27, 31, 7, 15, 23, 31, 15, 31, 31, 63, 1, 3, 5, 7, 9, 11, 13, 15, 9, 19, 21, 23, 19, 27, 29, 31, 5, 13, 21, 29]