OFFSET
1,1
COMMENTS
These are the prime numbers in A131019(k), occurring at k=1, 13, 71, 72, 116, 127, 128, 129, 136, 138, 157, 158, 162, 183, 185, ....
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
MAPLE
for n from 1 to 1000 do a131019 := add(ithprime(n+i), i=1..4)/2 : if isprime(a131019) then printf("%d, ", a131019) ; fi ; od:
MATHEMATICA
Select[(Total /@ Partition[Prime[Range[10^3]], 4, 1])/2, PrimeQ] (* Zak Seidov, Nov 01 2012 *)
PROG
(PARI) p=3; q=5; r=7; forprime(s=11, 1e4, if(isprime(t=(p+q+r+s)/2), print1(t", ")); p=q; q=r; r=s) \\ Charles R Greathouse IV, Nov 01 2012
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
R. J. Mathar and Jonathan Vos Post, Jun 12 2007
STATUS
approved