OFFSET
1,2
COMMENTS
See A321695 for the RUNS transform of this sequence and additional comments.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A321696
EXAMPLE
We can build this sequence alongside A321695 iteratively:
- this sequence starts with 1,
- hence A321695 starts with 1, 2 (after the initial run of 1's, we have a run of 2's),
- hence this sequence starts with 1, 2, 2, 1, 1, 2 (after the second run of 1's, we have a run of 2's),
- hence A321695 starts with 1, 2, 2, 3, 3, 4, 5, 6, 6, 7,
- hence this sequence starts with 1, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1,
- etc.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Nov 18 2018
STATUS
approved