OFFSET
0,2
FORMULA
a(2k) is always 1 (i.e., 0).
EXAMPLE
n=25 has binary expansion 11001, which has Lyndon factorization (1)(1)(001) with three factors. The rightmost factor is 001, which we write as a(25) = 112.
The real sequence (written with 0's and 1's rather than 1's and 2's) is:
0, 1, 0, 1, 0, 01, 0, 1, 0, 001, 0, 011, 0, 01, 0, 1, 0, 0001, 0, 0011, 0, 01, 0, 0111, 0, 001, 0, 011, 0, 01, 0, 1, 0, 00001, 0, 00011, 0, 00101, 0, 00111, 0, 001, 0, 01011, 0, 01, 0, 01111, 0, 0001, 0, 0011, 0, 01, 0, 0111, 0, 001, 0, 011, ...
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 31 2012
STATUS
approved