A196957 T(n,k)=Number of nXk 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 2,1,3,4,0 for x=0,1,2,3,4.
1, 2, 2, 3, 5, 3, 4, 9, 9, 4, 6, 20, 26, 20, 6, 9, 41, 87, 87, 41, 9, 13, 85, 282, 492, 282, 85, 13, 19, 178, 919, 2687, 2687, 919, 178, 19, 28, 369, 2987, 14509, 23956, 14509, 2987, 369, 28, 41, 769, 9722, 78717, 214124, 214124, 78717, 9722, 769, 41, 60, 1600, 31643
Offset: 1
Examples
Some solutions for n=6 k=4 ..0..0..0..0....0..1..0..0....1..1..0..0....0..1..0..0....0..0..0..0 ..1..0..1..1....0..1..0..0....0..0..1..1....0..1..0..0....0..0..1..0 ..1..0..0..0....0..0..0..0....1..1..0..0....1..0..0..0....0..0..1..0 ..0..0..1..1....0..0..0..0....0..0..4..0....1..0..4..0....0..0..0..1 ..1..0..0..0....0..1..0..0....0..0..0..0....0..4..0..0....1..1..0..1 ..1..0..0..0....0..1..0..0....0..1..1..0....0..0..1..1....0..0..0..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..364
Comments