login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A140112
Primes of the form prime(x) + prime(x+1) + (prime(x+1)-prime(x))/2.
1
13, 37, 61, 71, 103, 131, 271, 277, 293, 311, 397, 457, 523, 541, 607, 743, 857, 1091, 1109, 1123, 1151, 1201, 1223, 1237, 1277, 1303, 1321, 1433, 1511, 1567, 1621, 1637, 1657, 1699, 1747, 1951, 2203, 2243, 2357, 2371, 2383, 2557, 2591, 2731, 2789, 2857
OFFSET
1,1
LINKS
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
Sequence in context: A319969 A045809 A238675 * A089030 A351537 A351536
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Mar 16 2022
STATUS
approved