OFFSET
1,3
COMMENTS
After the digit 0 that starts the sequence, we have the 2nd digit of the sequence that is > 0, then the 3rd digit that is > the 2nd digit, then the 4th digit that is > the 3rd digit, then the 5th digit that is < the 4th digit, then the 6th digit that is < the 5th digit, etc. Considering the sequence from the digit-size point of view, we could see it as a kind of roller coaster going up three steps, than down three steps, than up a again three steps, etc.
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..2005
EXAMPLE
The sequence starts with 0,1,2,3,210,4,5,6,32,12,7,8,42,13,... and indeed the digits form a kind of 3-step roller-coaster 0 < 1 < 2 < 3 > 2 > 1 > 0 < 4 < 5 < 6 > 3 > 2 > 1 < 2 < 7 < 8 > 4 > 2 > 1...
CROSSREFS
KEYWORD
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Aug 03 2018
STATUS
approved