OFFSET
1,1
EXAMPLE
Writing (i,j) for i+j*r, the first 7 in the ranking are (0,0), (1,0), (0,1), (2,0), (1,1), (0,2), (3,0); the rank where i and j are both odd is 5.
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 12 2011
STATUS
approved