Number of n X n 0..2 arrays with no more than floor(n X n/2) elements unequal to at least one king-move neighbor, with new values introduced in row major 0..2 order.

A222363

Number of n X n 0..2 arrays with no more than floor(n X n/2) elements unequal to at least one king-move neighbor, with new values introduced in row major 0..2 order.

Terms

    a(0) =1a(1) =1a(2) =5a(3) =191a(4) =6214a(5) =2372459a(6) =749968281

External references