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

A344846

Sum of the prime numbers appearing along 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) =5a(2) =12a(3) =23a(4) =44a(5) =80a(6) =136a(7) =195a(8) =225a(9) =329a(10) =320a(11) =694a(12) =791a(13) =808a(14) =899a(15) =953a(16) =1378a(17) =2485a(18) =1905a(19) =2152a(20) =2898a(21) =3364a(22) =2577a(23) =4913a(24) =4061a(25) =5589a(26) =4638a(27) =6978a(28) =5432a(29) =10814

External references