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!)
A121528 a(1)=1. a(n) = n-th integer from among those positive integers which are coprime to the sum of the previous terms of this sequence. 1
1, 2, 4, 4, 5, 11, 10, 8, 16, 10, 11, 23, 29, 27, 17, 31, 18, 18, 27, 41, 21, 43, 24, 24, 32, 26, 50, 30, 29, 61, 31, 101, 41, 81, 35, 107, 37, 113, 42, 42, 41, 83, 76, 44, 67, 91, 58, 85, 97, 79, 151, 64, 61, 211, 57, 139, 57, 135, 59, 131, 103, 135, 63, 159, 65, 197, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
45 = the sum of the terms a(1) to a(8), 45 = 1+2+4+4+5+11+10+8. 1,2,4,7,8,11,13,14,16,17... are the positive integers which are coprime to 45. 16 is the 9th of these integers, so a(9) = 16.
PROG
(PARI) {m=67; print1(1, ", "); s=1; for(n=2, 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)
CROSSREFS
Cf. A121527.
Sequence in context: A261393 A366541 A327629 * A243003 A223227 A160904
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 05 2006
EXTENSIONS
More terms from Klaus Brockhaus, Aug 15 2006
STATUS
approved

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 23 05:59 EDT 2024. Contains 372758 sequences. (Running on oeis4.)