login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A198701
Number of n X n 0..4 arrays with values 0..4 introduced in row major order and each element equal to at least one horizontal or vertical neighbor.
0
0, 3, 185, 322230, 10239497407, 4285681886701131
OFFSET
1,2
EXAMPLE
Some solutions with all values 0 to 4 for n=4:
..0..0..1..2....0..1..2..2....0..1..2..2....0..1..2..1....0..0..0..1
..3..3..1..2....0..1..1..3....0..1..3..3....0..1..2..1....2..0..1..1
..3..0..4..4....0..4..4..3....2..2..2..4....1..3..4..4....2..3..3..1
..0..0..0..4....2..2..1..1....1..1..2..4....1..3..3..3....4..4..1..1
CROSSREFS
Diagonal of A198708.
Sequence in context: A103503 A203562 A371153 * A157561 A157590 A157236
KEYWORD
nonn,more
AUTHOR
R. H. Hardin, Oct 29 2011
STATUS
approved