A126238 Primes of the form p = prime(k) = (prime(k+3)+prime(k-1))/2.
1009, 2789, 4001, 4931, 5431, 5501, 5519, 5839, 6029, 6521, 7103, 7817, 8081, 8147, 8353, 10091, 17011, 18251, 18301, 19751, 21139, 22769, 25013, 25339, 25931, 26681, 27271, 27397, 27791, 28429, 28619, 33149, 33739, 35491, 35521, 36451, 36779
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Prime@Select[Range[2, 4000], 2Prime[ # ] == Prime[ # - 1] + Prime[ # + 3] &] (* Ray Chandler, Dec 27 2006 *) Transpose[Select[Partition[Prime[Range[4000]],5,1],2#[[2]]==#[[5]]+#[[1]]&]][[2]] (* Harvey P. Dale, Jan 23 2013 *)
Extensions
Edited and extended by Ray Chandler, Dec 27 2006