login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087518 Number of arrangements of 1..n^2 in n X n array with exactly one local maximum. 3
1, 16, 29568, 35704394880, 88366736882654697600 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Neighbors of a cell are only considered in the X and Y directions.
Number of ways to dig an n X n hole where each cell is at a different depth and water will collect in just one puddle.
Computed using a C program, brute force enumeration except using a cache of old results to cut off the search tree. For many related problems however, R. H. Hardin has coded them in S/R (which is COSPAN's language).
LINKS
EXAMPLE
For n=2, 12 has only one local max., whereas 13 has two and is excluded.
........ 34 ................................ 42
CROSSREFS
For the same problem with an n X 1 array see A000079. With no shape constraint, see A007846. Cf. A087519. Main diagonal of A087783.
Sequence in context: A340590 A017416 A265618 * A249971 A221244 A280656
KEYWORD
nonn,nice
AUTHOR
R. H. Hardin, Oct 23 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)