1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 3, 1, 4, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 3, 1, 4, 1, 2, 1, 1, 1, 1, 3
Offset: 1
a(2) = 1, since there is a run of length 1 at a(1).
a(3) = 2, since there is a run of length 2 at a(1..2).
a(4..5) = 2, 1, since the runs are as follows:
1, 1, 2 a(1..3)
\__/ |
2, 1 a(4..5)
a(37) = 3, since a(20..22) = 1, 1, 1.
Steps in construction:
[1] initial sequence
[1] its run length
.
[1, 1] concatenation of above is new sequence
[2] its run length
.
[1, 1, 2] concatenation of above is new sequence
[2, 1] its run lengths
.
[1, 1, 2, 2, 1]
[2, 2, 1]
.
[1, 1, 2, 2, 1, 2, 2, 1]
[2, 2, 1, 2, 1]
.
[1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1]
[2, 2, 1, 2, 1, 2, 1, 1, 1]
.
[1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1]
[2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3]
.
[1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3]
From _N. J. A. Sloane_, Jan 31 2019: (Start)
The first 9 generations, in compressed notation (see A323477) are:
1
11
112
11221
11221221
1122122122121
1122122122121221212111
1122122122121221212111221212111211113
1122122122121221212111221212111211113221212111211113211113141
... (End)
Comments