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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A119993 a(n) = n-th prime from among those primes which are coprime to n. 4
 2, 5, 7, 11, 13, 19, 19, 23, 29, 37, 37, 43, 43, 53, 59, 59, 61, 71, 71, 79, 83, 89, 89, 101, 101, 107, 107, 113, 113, 137, 131, 137, 149, 151, 157, 163, 163, 173, 179, 181, 181, 197, 193, 199, 211, 223, 223, 229, 229, 239, 241, 251, 251, 263, 269, 271, 277, 281 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Robert Israel, Table of n, a(n) for n = 1..10000 FORMULA a(n) = A000040(n + A001221(n)). - Jon Maiga, Jan 05 2019 EXAMPLE 5,7,11,13,17,19,23,... is the sequence of primes which are coprime to 6. 19 is the 6th such prime, so a(6) = 19. MAPLE f:= n -> ithprime(n + nops(numtheory:-factorset(n))); map(f, [\$1..100]); # Robert Israel, Sep 28 2023 MATHEMATICA With[{prs=Prime[Range[1000]]}, Table[Select[prs, CoprimeQ[#, n]&][[n]], {n, 60}]] (* Harvey P. Dale, Aug 27 2014 *) Table[Prime[n + PrimeNu[n]], {n, 60}] (* Jon Maiga, Jan 05 2019 *) PROG (PARI) {m=59; for(n=1, m, q=2; k=n; while(k>0, p=q; if(gcd(p, n)==1, k--); q=nextprime(p+1)); print1(p, ", "))} \\ Klaus Brockhaus, Aug 15 2006 CROSSREFS Cf. A000040, A001221. Sequence in context: A265809 A303112 A182320 * A045346 A039675 A074833 Adjacent sequences: A119990 A119991 A119992 * A119994 A119995 A119996 KEYWORD nonn AUTHOR Leroy Quet, Aug 03 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.

Last modified August 2 22:39 EDT 2024. Contains 374875 sequences. (Running on oeis4.)