OFFSET
1,1
COMMENTS
In other words, primes p such that 5*(p-5) is member of A014574. [From Omar E. Pol, Aug 05 2009]
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
5*(11-5)=30, 5*(17-5)=60,...
MATHEMATICA
f1[n_]:=If[PrimeQ[n-1]&&PrimeQ[n+1], True, False]; f2[n_]:=If[f1[n]&&PrimeQ[n/5+5], True, False]; lst={}; Do[If[f2[n], AppendTo[lst, n/5+5]], {n, 8!}]; lst
Select[Prime[Range[700]], AllTrue[5(#-5)+{1, -1}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Dec 18 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 25 2009
EXTENSIONS
Definition clarified by Omar E. Pol, Aug 05 2009
STATUS
approved