OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
3+5-(5-3)/2=3+5-1=7, 5+7-(7-5)/2=5+7-1=11, ...
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[ 200]], 2, 1], PrimeQ] (* Harvey P. Dale, Mar 14 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jun 21 2008
EXTENSIONS
More terms from Harvey P. Dale, Mar 14 2021
STATUS
approved