OFFSET
1,1
COMMENTS
a(12) > 2*10^8 if it exists.
EXAMPLE
a(3) = 7 is a term because the average of the squares of the 7 consecutive primes starting with 7 is (7^2 + 11^2 + 13^2 + 17^2 + 19^2 + 23^2 + 29^2)/7 = 337, which is prime.
MAPLE
s:= 7^2: R:= NULL: count:= 0: p:= 7:
for n from 2 while count < 11 do
p:= nextprime(p);
s:= s + p^2;
t:= s/n;
if t::integer and isprime(t) then R:= R, n; count:= count+1 fi
od:
R;
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Israel, Dec 29 2022
STATUS
approved