Number of n X n 0..2 arrays with each element equal to either the maximum or the minimum of its horizontal and vertical neighbors.

A183546

Number of n X n 0..2 arrays with each element equal to either the maximum or the minimum of its horizontal and vertical neighbors.

Terms

    a(0) =0a(1) =15a(2) =583a(3) =95101a(4) =63868351a(5) =177385265619

External references