login
A249419
Least prime p>=prime(n) such that p + 2 == 0 (mod prime(n)).
2
2, 7, 13, 19, 31, 37, 83, 131, 67, 317, 277, 109, 367, 127, 139, 157, 293, 181, 199, 211, 509, 709, 911, 443, 677, 503, 307, 2459, 761, 337, 379, 653, 409, 971, 743, 3169, 1097, 487, 499, 863, 1609, 541, 571, 577, 983, 1789, 631, 1559, 6581, 1601, 1163, 1193, 3613, 751, 769, 787, 2957
OFFSET
1,1
PROG
(PARI) a(n) = {pn = prime(n); forprime(p = pn, , if (((p+2) % pn) == 0, return (p)); ); } \\ Michel Marcus, Oct 29 2014
CROSSREFS
Sequence in context: A156012 A106011 A045375 * A331544 A237499 A231476
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 28 2014
STATUS
approved