The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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

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

%S 1,2,5,8,15,23,29,36,59,68,89,100,129,148,175,197,213,238,281,300,373,

%T 394,437,462,551,577,603,643,671,702,799,831,878,943,978,1081,1118,

%U 1199,1240,1341,1400,1517,1561,1611,1676,1765,1822,1915,1974,2147,2199,2275

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

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

%Y Cf. A121640, A121047.

%K nonn

%O 0,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 May 28 22:13 EDT 2024. Contains 372921 sequences. (Running on oeis4.)