

A137217


A selfdescribing sequence: 2 odd digits between two even, then 3 odd digits between two even, then 5 odd digits between two even, then 6, then 7... The length of each run of odd digits is given by the sequence itself (the smallest available integer is used when needed). Zero is an even digit.


0



2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 19, 21, 31, 33, 35, 41, 51, 53, 55, 57, 61, 71, 73, 75, 77, 78, 79, 91, 93, 95, 97, 98, 99, 111, 113, 115, 116, 117, 119, 131, 133, 134, 135, 137, 139, 151, 153, 211, 311, 313, 315, 317, 319, 411, 511, 513, 515, 517, 519, 530
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

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


EXAMPLE

Runs of odd digits are between brackets:
Seq: 2,(3,5),6,(7,9,1)0,(11,13,1)4,(15,17,19),2(1,31,33,35),4(1,
Runs:....2........3.........5...........6............7.....= sequence itself.


CROSSREFS

Cf. A135604.
Sequence in context: A004195 A324562 A083347 * A023705 A188070 A305847
Adjacent sequences: A137214 A137215 A137216 * A137218 A137219 A137220


KEYWORD

base,nonn


AUTHOR

Eric Angelini, Mar 06 2008


STATUS

approved



