login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

%I #7 Apr 09 2014 10:15:52

%S 1,3,7,11,16,27,37,45,61,71,82,105,134,161,178,209,227,245,272,313,

%T 334,377,401,425,457,483,533,563,592,653,684,785,826,907,942,1049,

%U 1086,1199,1241,1283,1324,1407,1483,1527,1594,1685,1743,1828,1925,2004,2155,2219

%N a(1) = 1. a(n) = a(n-1) + (n-th integer from among those positive integers which are coprime to a(n-1)).

%o (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)

%Y Cf. A121641, A121047.

%K nonn

%O 1,2

%A _Leroy Quet_, Aug 12 2006

%E More terms from _Klaus Brockhaus_, Aug 14 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 12:31 EDT 2024. Contains 371937 sequences. (Running on oeis4.)