login
A126240
Primes p such that p = prime(n+3)=(prime(n+6)+prime(n))/2.
1
11, 29, 31, 41, 71, 211, 251, 349, 439, 461, 751, 1031, 1051, 1289, 1291, 1609, 1667, 1723, 2113, 2417, 2423, 2503, 2579, 2711, 2903, 3079, 3919, 3967, 4153, 4271, 4591, 4759, 4951, 5051, 5399, 5693, 6173, 6361, 6451, 6691, 6733, 7229, 7541, 7559, 7793
OFFSET
1,1
LINKS
MATHEMATICA
Do[If[(Prime[n + 6] + Prime[n])/2 == Prime[n + 3], Print[Prime[n + 3]]], {n, 1, 3000}]
Transpose[Select[Partition[Prime[Range[4000]], 7, 1], (First[#]+Last[#])/2==#[[4]]&]][[4]] (* Harvey P. Dale, Feb 16 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 21 2006
EXTENSIONS
Extended by Ray Chandler, Dec 27 2006
STATUS
approved