The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A334971 a(n) is the least prime p such that p+2 is divisible by n-th prime. 1
 2, 7, 3, 5, 31, 11, 83, 17, 67, 317, 29, 109, 367, 41, 139, 157, 293, 59, 199, 211, 71, 709, 911, 443, 677, 503, 101, 2459, 107, 337, 379, 653, 409, 137, 743, 149, 1097, 487, 499, 863, 1609, 179, 571, 191, 983, 197, 631, 1559, 6581, 227, 1163, 1193, 239, 751 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Zak Seidov, Table of n, a(n) for n = 1..10000 EXAMPLE a(1) = 2 because 2+2=4 is divisible by 2 (1st prime), a(2) = 7 because 7+2=9 is divisible by 3 (2nd prime), a(3) = 3 because 3+2=5 is divisible by 5 (3rd prime). PROG (PARI) a(n) = my(p=2); while ((p+2) % prime(n), p=nextprime(p+1)); p; \\ Michel Marcus, May 18 2020 CROSSREFS Cf. A052147. Sequence in context: A330883 A075639 A082737 * A104957 A329333 A083119 Adjacent sequences:  A334968 A334969 A334970 * A334972 A334973 A334974 KEYWORD nonn AUTHOR Zak Seidov, May 18 2020 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 1 22:36 EDT 2021. Contains 346408 sequences. (Running on oeis4.)