OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
5+7+(7-5)/2=5+7+1=13
MATHEMATICA
a = {}; Do[p1 = Prime[n]; p2 = Prime[n + 1]; p = p1 + p2 + (p2 - p1)/2; If[PrimeQ[p], AppendTo[a, p]], {n, 10^2}]; a
Select[#[[1]]+#[[2]]+(#[[2]]-#[[1]])/2&/@Partition[Prime[ Range[ 500]], 2, 1], PrimeQ] (* Harvey P. Dale, Mar 16 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jun 21 2008
EXTENSIONS
More terms from Harvey P. Dale, Mar 16 2022
STATUS
approved