OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
The positive integers which are coprime to (5*6) are 1,7,11,13,17,19,23,29,... The fifth of these integers is 17, so a(5) = 17.
MATHEMATICA
f[n_] := Block[{k = 0, c = n}, While[c > 0, k++; While[GCD[n*(n + 1), k] > 1, k++ ]; c--; ]; k]; Table[f[n], {n, 65}] (* Ray Chandler, Nov 10 2006 *)
Table[Select[Range[n(n+1)], CoprimeQ[#, n(n+1)]&][[n]], {n, 70}] (* Harvey P. Dale, May 01 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 08 2006
EXTENSIONS
Extended by Ray Chandler, Nov 10 2006
STATUS
approved