Sum of the prime numbers in, but not on the border of, an n X n square array whose elements are the numbers from 1..n^2, listed in increasing order by rows.

A344847

Sum of the prime numbers in, but not on the border of, an n X n square array whose elements are the numbers from 1..n^2, listed in increasing order by rows.

Terms

    a(0) =0a(1) =0a(2) =5a(3) =18a(4) =56a(5) =80a(6) =192a(7) =306a(8) =566a(9) =731a(10) =1273a(11) =1433a(12) =2123a(13) =3023a(14) =3762a(15) =5128a(16) =6604a(17) =7038a(18) =9694a(19) =11735a(20) =13942a(21) =16695a(22) =21015a(23) =22027a(24) =28292a(25) =31972a(26) =37830a(27) =41516a(28) =50405a(29) =51983

External references