

A171086


A "run" means a maximal string of numbers that includes exactly one odd number; this sequence has the property that the sequence of run lengths is the sequence itself and all natural numbers appear exactly once.


2



1, 3, 2, 4, 5, 6, 7, 8, 10, 12, 9, 14, 16, 18, 20, 11, 22, 24, 26, 28, 30, 13, 32, 34, 36, 38, 40, 42, 15, 44, 46, 48, 50, 52, 54, 56, 17, 58, 60, 62, 64, 66, 68, 70, 72, 74, 19, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 21, 98, 100, 102, 104, 106, 108, 110
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

E. Angelini, Runs [Cached copy, with permission]


EXAMPLE

If we insert a carriage return just before each odd number, we get:
1,
3, 2, 4,
5, 6,
7, 8, 10, 12,
9, 14, 16, 18, 20,
11, 22, 24, 26, 28, 30,
13, 32, 34, 36, 38, 40, 42,
15, 44, 46, 48, 50, 52, 54, 56,
17, 58, 60, 62, 64, 66, 68, 70, 72, 74, ,
19, 76, 78,
...
where the first column is the sequence of odd numbers.


CROSSREFS



KEYWORD

nonn


AUTHOR

N. J. A. Sloane, Sep 07 2010, based on a posting to the Sequence Fans Mailing List by Eric Angelini, Aug 23 2010.


EXTENSIONS



STATUS

approved



