OFFSET
1,1
COMMENTS
Look-and-repeat sequence A225329 with seed 3.
Contains 1, 2, 3 and 5, but not 4.
All terms end with 3 (the seed) and, starting at the fourth, with 3331113, which makes the 5 appear.
All terms except the second begin with 2 or 3; it is a direct consequence of the look-and-repeat rule.
Sequence A225333, the look-and-repeat sequence with seed 2 is almost the same, differing only in the last digit of each term (2 instead of 3 here). Indeed, any one-digit seed except 1 leads to essentially the same sequence with all terms identical except the last one = the seed.
FORMULA
a(n) = A225333(n) + 1.
EXAMPLE
The term after 113 is obtained by saying (repeating) two two 1, one one 3, which gives 221113.
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Jean-Christophe Hervé, May 12 2013
STATUS
approved