|
|
A121640
|
|
a(1) = 1. a(n) = a(n-1) + (n-th integer from among those positive integers which are coprime to a(n-1)).
|
|
1
|
|
|
1, 3, 7, 11, 16, 27, 37, 45, 61, 71, 82, 105, 134, 161, 178, 209, 227, 245, 272, 313, 334, 377, 401, 425, 457, 483, 533, 563, 592, 653, 684, 785, 826, 907, 942, 1049, 1086, 1199, 1241, 1283, 1324, 1407, 1483, 1527, 1594, 1685, 1743, 1828, 1925, 2004, 2155, 2219
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
PROG
|
(PARI) {m=52; print1(b=1, ", "); for(n=2, m, k=n; c=0; while(k>0, c++; if(gcd(b, c)==1, k--)); print1(a=b+c, ", "); b=a)} - (Klaus Brockhaus, Aug 14 2006)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|