%I #4 Mar 31 2012 12:35:00
%S 1,16,3584,58566144
%N Number of arrangements of 1..n^2 in n X n array with one local minimum and one local maximum.
%C Neighbors of a cell are only considered in the X and Y directions.
%e For n=2, 12 has one local max. whereas 13 has two local maxima
%e ........ 34 and one local min. ....... 42 and two local minima
%Y Cf. A087518.
%K nonn,nice
%O 1,2
%A _R. H. Hardin_, Oct 23 2003