login
A122530
Decreasing runs. The size of each run is given by the sequence itself. First run starts with "1", second with "2", third with "3", fourth with "4", etc.
0
1, 2, 1, 3, 4, 3, 2, 5, 4, 3, 2, 6, 5, 4, 7, 6, 8, 7, 6, 5, 4, 9, 8, 7, 6, 10, 9, 8, 11, 10, 12, 11, 10, 9, 8, 7, 13, 12, 11, 10, 9, 14, 13, 12, 11, 15, 14, 13, 12, 11, 10, 9, 16, 15, 14, 13, 12, 11, 17, 16, 15, 14, 13, 12, 11, 10, 18, 17, 16, 15, 14, 13, 12, 19, 18, 17, 16, 15, 14, 20
OFFSET
1,2
COMMENTS
Terms computed by Gilles Sadowski
EXAMPLE
S is the sequence and R is the size of each run:
S=1,2,1,3,4,3,2,5,4,3,2,6,5,4,7,6,8,7,6,5,4,9,8,7,6,10,9,8,11,10...
S=1,(2,1),(3),(4,3,2),(5,4,3,2),(6,5,4),(7,6),(8,7,6,5,4)...
R=1 2 1 3 4 3 2 5... = sequence S
CROSSREFS
Sequence in context: A237124 A233547 A358193 * A301453 A278340 A324749
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Sep 17 2006
STATUS
approved