OFFSET
1,2
LINKS
Diana Mecum, Table of n, a(n) for n = 1..900 [From Diana L. Mecum, Aug 04 2008]
EXAMPLE
The first 6 terms of the sequence can be plotted on the number line as:
1,2,3,4,*,*,7,8,*,*,*,*,*.
Now a(6) is 7. Counting b(7) = 5 (because all earlier terms but the 7 are coprime to 7) down from 7 gets a negative integer. So we instead count up 5 positions, skipping the 8 as we count, to arrive at 13 (which is at the rightmost * of the number line above).
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 17 2005
EXTENSIONS
More terms from Diana L. Mecum, Aug 04 2008
STATUS
approved