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

A135604
Self-describing sequence: 1 even digit between two odd, then 2 even digits between two odd, then 3 even digits, then 4, then 6... The length of each run of even digits is given by the sequence itself (the smallest available integer is used when needed). Zero is an even digit.
1
1, 2, 3, 4, 6, 7, 8, 20, 30, 40, 41, 42, 44, 46, 50, 60, 62, 64, 70, 82, 84, 85, 86, 88, 200, 202, 204, 206, 208, 210, 220, 222, 224, 226, 228, 240, 242, 244, 246, 248, 250, 260, 262, 264, 266, 268, 280, 282, 284, 286, 288
OFFSET
1,2
EXAMPLE
Runs of even digits are between brackets:
Seq: 1,(2),3,(4,6,)7,(8,20,)3(0,40,4)1,(42,44,46,)5(0,60,62,64,)70,...
Runs:...1......2........3........4..........6............7.. = sequence itself.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini, Feb 26 2008
STATUS
approved