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”).

A112379
A self-descriptive fractal sequence: if 1 is subtracted from every term and any zero terms are omitted, the original sequence is recovered (this process may be called "lower trimming").
2
1, 2, 1, 3, 2, 1, 4, 1, 3, 2, 5, 1, 2, 4, 1, 3, 1, 6, 2, 3, 5, 1, 2, 1, 4, 2, 7, 1, 3, 4, 1, 6, 2, 3, 2, 5, 1, 3, 1, 8, 2, 1, 4, 5, 2, 7, 1, 3, 1, 4, 3, 6, 1, 2, 1, 4, 2, 9, 3, 2, 5, 1, 6, 3, 1, 8, 2, 4, 1, 2, 5, 4, 7, 2, 1, 3, 1, 2, 5, 1, 3, 1, 10, 4, 3, 6, 1, 2, 7, 1, 4, 2, 9, 3, 5, 2, 3, 1, 6
OFFSET
0,2
COMMENTS
The sequence also gives the number of numbers that are retained between zeros that are dropped. Alternatively, each element is the number of numbers between 1's in the original sequence.
CROSSREFS
Sequence in context: A348888 A128260 A083368 * A361101 A308780 A246700
KEYWORD
nonn,easy
AUTHOR
Kerry Mitchell, Dec 04 2005
STATUS
approved