OFFSET
0,3
EXAMPLE
10 is the product of terms a(0) through a(3). 1,3,7,9,11,...is the sequence of positive integers coprime to 10. 9 is the 4th term of this sequence, so a(4) therefore is 9.
PROG
(PARI) {m=56; print1(1, ", "); s=1; for(n=1, m, k=n; c=0; while(k>0, c++; if(gcd(s, c)==1, k--)); print1(c, ", "); s=s*c)} - (Klaus Brockhaus, Aug 15 2006)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 04 2006
EXTENSIONS
Corrected and extended by Klaus Brockhaus, Aug 15 2006
STATUS
approved