OFFSET
1,2
EXAMPLE
The smallest 5-balanced prime, 79 (center of 71,73,79,83,89) minus 8 is 71, so a(2)=8/2=4.
PROG
(PARI) for(n=1, 80, i=2*n+1; f=0; forprime(p=2, 10^7, s=0; c=i; pr=p-1; t=0; while(c>0, c=c-1; pr=nextprime(pr+1); s=s+pr; if(c==(i-1)/2, t=pr)); if(s/i==t, print1((t-p)/2", "); f=1; break)); if(!f, print1("0, ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Apr 09 2003
STATUS
approved