login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A130735
Primes p such that p+2, n*(p+2)+6 and p*(p+2)+8 are also prime.
1
5, 11, 2591, 4127, 10427, 11831, 15887, 28547, 56921, 60257, 61331, 62927, 65717, 70487, 74411, 77417, 77687, 81281, 87221, 100391, 104087, 115301, 116687, 121367, 124181, 129287, 148691, 149111, 158141, 173741, 199151, 208961
OFFSET
1,1
LINKS
MAPLE
a:=proc(n) local p: p:=ithprime(n): if isprime(p+2)=true and isprime(p*(p+2)+6) =true and isprime(p*(p+2)+8)=true then p else end if end proc: seq(a(n), n= 1 .. 20000); # Emeric Deutsch, Jul 25 2007
MATHEMATICA
apQ[n_]:=Module[{n2=n(n+2)}, And@@PrimeQ[{n+2, n2+6, n2+8}]]; Select[Prime[Range[ 20000]], apQ] (* Harvey P. Dale, Apr 07 2013 *)
CROSSREFS
Sequence in context: A174955 A224095 A370664 * A322153 A022835 A022834
KEYWORD
nonn
AUTHOR
Ray G. Opao, Jul 06 2007
EXTENSIONS
More terms from Emeric Deutsch, Jul 25 2007
STATUS
approved