A185408 1/7 the number of nX5 0..6 arrays with every element equal to exactly one or two of its horizontal and vertical neighbors.
13, 22656, 12205368, 9560464068, 6409594156632
Offset: 1
Keywords
Examples
Some solutions for 3X5 with a(1,1)=0 ..0..0..1..0..1....0..0..0..5..5....0..0..0..6..6....0..0..2..2..4 ..0..0..1..0..1....0..1..1..3..0....0..1..1..4..4....0..1..1..6..4 ..4..4..2..2..2....0..0..0..3..0....3..3..3..4..4....3..3..1..6..4
Comments