OFFSET
1,2
EXAMPLE
45 = the sum of the terms a(1) to a(8), 45 = 1+2+4+4+5+11+10+8. 1,2,4,7,8,11,13,14,16,17... are the positive integers which are coprime to 45. 16 is the 9th of these integers, so a(9) = 16.
PROG
(PARI) {m=67; print1(1, ", "); s=1; for(n=2, 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 05 2006
EXTENSIONS
More terms from Klaus Brockhaus, Aug 15 2006
STATUS
approved