OFFSET
1,3
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A145471(n)-5)/12.
MATHEMATICA
aa = {}; k = 5; Do[If[PrimeQ[(k + Prime[n])/2], AppendTo[aa, (Prime[n] - 5)/12]], {n, 1, 500}]; aa
Select[Range[0, 250], PrimeQ[6 # + 5] && PrimeQ[12 # + 5] &] (* Ivan Neretin, Jan 21 2017 *)
Select[Range[0, 250], AllTrue[5+{6#, 12#}, PrimeQ]&] (* Harvey P. Dale, Dec 20 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 11 2008
STATUS
approved