OFFSET
1,2
EXAMPLE
First, write
1..3..5..7..9..11..13..15..17..21..23.. (odds)
1..3....6.....10.......15......21.... (triangular)
Then replace each number by its rank, where ties are settled by ranking the odd number after the triangular:
a=(2,4,5,7,8,10,11,13,14,15,....)=A186352
b=(1,3,6,9,12,16,21,26,31,37,...)=A186353.
MATHEMATICA
(See A186352.)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 18 2011
STATUS
approved