OFFSET
1,1
COMMENTS
For sums of squares of two consecutive primes, only 2^2 + 3^2 = 13 is prime.
For sums of squares of three consecutive primes (A133529), it seems that only 83 belonging (checked for starting primes prime(k) for all k < 1000000).
Sums of squares of four (and all even numbers of) consecutive primes are even numbers with the exception of 2^2 + 3^2 + 5^2 + 7^2 = 87 = 3*29, which is not prime.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=373 because prime(2)^2 + prime(3)^2 + prime(4)^2 + prime(5)^2 + prime(6)^2 = 3^2 + 5^2 + 7^2 + 11^2 + 13^2 = 373 is prime. [Corrected by Jonathan Sondow, Nov 04 2015]
MATHEMATICA
b = {}; a = 2; Do[k = Prime[n]^a + Prime[n + 1]^a + Prime[n + 2]^a + Prime[n + 3]^a + Prime[n + 4]^a; If[PrimeQ[k], AppendTo[b, k]], {n, 1, 100}]; b
Select[Total/@Partition[Prime[Range[200]]^2, 5, 1], PrimeQ] (* Harvey P. Dale, Apr 07 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 16 2007
STATUS
approved