[go: up one dir, main page]

login
A121641
a(0) = 1. a(n) = a(n-1) + (n-th integer from among those positive integers which are coprime to a(n-1)).
1
1, 2, 5, 8, 15, 23, 29, 36, 59, 68, 89, 100, 129, 148, 175, 197, 213, 238, 281, 300, 373, 394, 437, 462, 551, 577, 603, 643, 671, 702, 799, 831, 878, 943, 978, 1081, 1118, 1199, 1240, 1341, 1400, 1517, 1561, 1611, 1676, 1765, 1822, 1915, 1974, 2147, 2199, 2275
OFFSET
0,2
PROG
(PARI) {m=51; print1(b=1, ", "); for(n=1, 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
Sequence in context: A323285 A077866 A098894 * A349796 A058884 A073335
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 12 2006
EXTENSIONS
More terms from Klaus Brockhaus, Aug 14 2006
STATUS
approved