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.

A211096 Smallest (i.e., rightmost) Lyndon word in the Lyndon factorization of the binary representation of n (written using 1's and 2's rather than 0's and 1's, since numbers > 0 in the OEIS cannot begin with 0).

Table of values

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

List of values

[1, 2, 1, 2, 1, 12, 1, 2, 1, 112, 1, 122, 1, 12, 1, 2, 1, 1112, 1, 1122, 1, 12, 1, 1222, 1, 112, 1, 122, 1, 12, 1, 2, 1, 11112, 1, 11122, 1, 11212, 1, 11222, 1, 112, 1, 12122, 1, 12, 1, 12222, 1, 1112, 1, 1122, 1, 12, 1, 1222, 1, 112, 1, 122, 1, 12, 1, 2, 1, 111112, 1, 111122, 1, 111212, 1, 111222, 1, 112, 1, 112122, 1, 112212, 1, 112222, 1, 1112, 1, 1122, 1]