SPIRAL

 

 SPIRAL(n) is an n-by-n matrix with elements ranging

  from 1 to n^2 in a rectangular spiral pattern.