OFFSET
1,1
FORMULA
Arrange 25 consecutive primes in a 5 X 5 grid wherein YJKLM, XIBCN, WHADO, VGFEP, UTSRQ are the first through 5th horizontal rows of primes. Then sum the rows horizontally, vertically and along the two main diagonals. Total the 12 sums, divide by 12 and if the mean is integral and prime, adjoin initial prime to the sequence.
EXAMPLE
a(1)=3 because 3 is the first of 25 primes arranged in a 5 X 5 grid wherein the mean of all 12 sums is 223, prime.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, May 06 2004
STATUS
approved