Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A119644
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A119644 a(n) = n-th prime from among those primes which are coprime to the n-th composite. +0
1
3, 7, 7, 11, 17, 19, 23, 29, 29, 37, 41, 43, 47, 53, 53, 61, 61, 71, 79, 73, 83, 89, 97, 101, 103, 107, 109, 127, 127, 131, 137, 139, 139, 151, 157, 163, 167, 173, 179, 181, 191, 197, 197, 199, 199, 223, 229, 229, 233, 241, 241, 251, 257, 263, 269, 277, 277, 277 (list; graph; listen)
OFFSET

1,1

EXAMPLE

8 is the 3rd composite. 3,5,7,11,... is the sequence of primes which are coprime to 8. 7 is the 3rd term of these primes, so a(3) = 7.

PROGRAM

(PARI) {m=60; c=1; for(n=1, m, c++; while(isprime(c), c++); q=2; k=n; while(k>0, p=q; if(gcd(p, c)==1, k--); q=nextprime(p+1)); print1(p, ", "))} - (Klaus Brockhaus, Aug 15 2006)

CROSSREFS

Adjacent sequences: A119641 A119642 A119643 this_sequence A119645 A119646 A119647

Sequence in context: A011322 A140382 A080457 this_sequence A109386 A024612 A073881

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Aug 04 2006

EXTENSIONS

More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Aug 15 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 17:46 EDT 2008. Contains 145008 sequences.


AT&T Labs Research