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!)
A119676 a(0)=1. a(n) = n-th integer from among those positive integers which are coprime to the product of the earlier terms of the sequence. 0

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

%S 1,1,2,5,9,17,23,31,41,47,53,61,71,77,101,107,113,131,139,151,163,169,

%T 181,193,199,223,229,239,251,263,271,281,293,311,317,337,349,359,367,

%U 379,389,401,419,431,439,449,461,467,487,499,509,523,547,557,569,577

%N a(0)=1. a(n) = n-th integer from among those positive integers which are coprime to the product of the earlier terms of the sequence.

%e 10 is the product of terms a(0) through a(3). 1,3,7,9,11,...is the sequence of positive integers coprime to 10. 9 is the 4th term of this sequence, so a(4) therefore is 9.

%o (PARI) {m=56;print1(1,",");s=1;for(n=1,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)

%K nonn

%O 0,3

%A _Leroy Quet_, Aug 04 2006

%E Corrected and extended by _Klaus Brockhaus_, Aug 15 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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)