login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A114545
A self-descriptive fractal sequence. Each element gives the length and first element of a finite arithmetic sequence. Replace each finite sequence with its length (or first term) and you recover the original infinite sequence.
2
3, 4, 5, 4, 5, 6, 7, 5, 6, 7, 8, 9, 4, 5, 6, 7, 5, 6, 7, 8, 9, 6, 7, 8, 9, 10, 11, 7, 8, 9, 10, 11, 12, 13, 5, 6, 7, 8, 9, 6, 7, 8, 9, 10, 11, 7, 8, 9, 10, 11, 12, 13, 8, 9, 10, 11, 12, 13, 14, 15, 9, 10, 11, 12, 13, 14, 15, 16, 17, 4, 5, 6, 7, 5, 6, 7, 8, 9, 6, 7, 8, 9, 10, 11, 7, 8, 9, 10, 11, 12
OFFSET
3,1
EXAMPLE
The first element is 3, which describes the sequence 3, 4, 5. The second element, 4, describes the run 4, 5, 6, 7.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kerry Mitchell, Dec 07 2005
STATUS
approved