OFFSET
1,1
COMMENTS
For primes in this sequence see A133560.
For sum of squares of two consecutive primes only 2^2 + 3^2 = 13 is prime.
For sum of squares of three consecutive primes A133529 it seems that only 83 is a prime (checked for all n < 1000000).
Sums of squares of four (and all even number) of consecutive primes are even numbers with exception n=1 but 2^2 + 3^2 + 5^2 + 7^2 = 87 = 3*29 is not prime.
For primes that are sums of squares of five consecutive primes see A133559.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6) = 13^2 + 17^2 + 19^2 + 23^2 + 29^2 + 31^2 + 37^2 = 4519.
MAPLE
seq(add(ithprime(n+k)^2, k=0..6), n=1..35); # Muniru A Asiru, Jul 08 2018
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 + Prime[n + 5]^a + Prime[n + 6]^a; AppendTo[b, k]], {n, 1, 100}]; b
Total/@Partition[Prime[Range[40]]^2, 7, 1] (* Harvey P. Dale, Jan 01 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 16 2007
EXTENSIONS
Edited by Michel Marcus, Jul 08 2018
STATUS
approved