OFFSET
1,2
COMMENTS
Strings are obtained using the Kolakoski substitution and the additional rule: start with 1 if previous string begins with 2, start with 2 if previous string begins with 1.
a(n+1) > a(n), and a(n) is always composed of 1s and 2s, hence a subsequence of A007931. - Charles R Greathouse IV, Nov 20 2024
FORMULA
EXAMPLE
1-->2-->11-->21-->112-->2122
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Oct 12 2005
STATUS
approved