

A135604


Selfdescribing 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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..51.


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

Cf. A114148, A114149
Sequence in context: A093710 A091421 A138936 * A084826 A118944 A132988
Adjacent sequences: A135601 A135602 A135603 * A135605 A135606 A135607


KEYWORD

base,nonn


AUTHOR

Eric Angelini, Feb 26 2008


STATUS

approved



