OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
11, 6*11 - 13 = 53, and 6*11 + 13 = 79 are all primes.
MATHEMATICA
Select[Range[5000], PrimeQ[ # ] && PrimeQ[6# + 13] && PrimeQ[6# - 13] &]
okQ[n_]:=Module[{n6=6n}, And@@PrimeQ[{6n+13, 6n-13}]]; Select[Prime[Range[ 500]], okQ] (* Harvey P. Dale, Oct 03 2011 *)
PROG
(Magma) [ p: p in PrimesUpTo(9000) | IsPrime(6*p-13) and IsPrime(6*p+13)] // Vincenzo Librandi, Jan 29 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Zerinvary Lajos, Mar 31 2007
STATUS
approved