OFFSET
1,1
EXAMPLE
The positive integers which are coprime to 6 are 1,5,7,11,13,17,19,23,... The 7th of these is 19, which is a(6).
MATHEMATICA
f[n_] := Block[{k = 0, c = n + 1}, While[c > 0, k++; While[GCD[k, n] > 1, k++ ]; c--; ]; k]; Table[f[n], {n, 67}] (* Ray Chandler, Dec 29 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 26 2006
EXTENSIONS
Extended by Ray Chandler, Dec 29 2006
STATUS
approved