|
|
A121845
|
|
A self-describing sequence: the length of each run of consecutive integers is given by the sequence itself. Always start a new run with the smallest unused integer so far.
|
|
0
|
|
|
1, 3, 4, 5, 2, 3, 4, 5, 7, 8, 9, 10, 11, 6, 7, 12, 13, 14, 16, 17, 18, 19, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 38
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
...
Seq......1--3,4,5--2,3,4,5--7,8,9,10,11--6,7--
Run size:1....3.......4.........5.........2... (the sequence itself)
(the 3rd run starts with "2" which is the smallest unused integer so far. The 5th run starts with "6" for the same reason)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|