OFFSET
1,1
COMMENTS
Except for 3, all terms == 5 (mod 6). - Robert Israel, Sep 06 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Chris Caldwell The First 1000 Primes.
EXAMPLE
If p=173 then 13*p + 2 = 2251 (prime).
MAPLE
select(t -> isprime(t) and isprime(13*t+2), [3, seq(i, i=5..10000, 6)]); # Robert Israel, Sep 06 2018
PROG
(Magma) [p: p in PrimesUpTo(3000)| IsPrime(13*p+2)] // Vincenzo Librandi, Jan 29 2011
(PARI) forprime(p=3, 1e4, if(isprime(13*p+2), print1(p, ", "))); \\ Altug Alkan, Sep 07 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jan 06 2006
STATUS
approved