OFFSET
1,1
COMMENTS
Corresponding primes (arithmetic means) :
11, 131, 1031, 4643, 9433, 30671, 59063, 64013, 70249, 76733, 94483, 117679, 133277, 156127, 198377, 257339, 297049, 326143, 417089, 522883, 573101, 619471, 651251, 660973, 670763
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
(1+4+9+16+25)/5 = 11, so a(1)=5. The next set of successive squares with prime arithmetic mean: (6^2 + 7^2 + ... + 16^2)/11=131, so a(2)=11.
MAPLE
r:= 0:
for n from 1 to 100 do
t:= 0:
for j from r+1 do
t:= t + j^2;
s:= t/(j-r);
if s::integer and isprime(s) then
A[n]:= j-r;
r:= j;
break
fi
od;
od:
seq(A[i], i=1..100); # Robert Israel, May 02 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Jul 18 2012
STATUS
proposed