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”).

A126238
Primes of the form p = prime(n) = (prime(n+3)+prime(n-1))/2.
6
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,1
LINKS
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 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 21 2006
EXTENSIONS
Edited and extended by Ray Chandler, Dec 27 2006
STATUS
approved