A196685 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 4,0,1,2,3 for x=0,1,2,3,4.
1, 3, 3, 4, 9, 4, 5, 20, 20, 5, 9, 61, 58, 61, 9, 16, 189, 292, 292, 189, 16, 25, 544, 1235, 2245, 1235, 544, 25, 39, 1629, 5186, 15395, 15395, 5186, 1629, 39, 64, 4973, 22461, 109528, 188078, 109528, 22461, 4973, 64, 105, 15040, 96256, 796557, 2169685
Offset: 1
Examples
Some solutions for n=6 k=4 ..0..0..1..1....1..1..0..1....0..0..0..1....0..0..0..0....1..0..0..0 ..1..1..2..0....0..1..1..1....0..0..0..2....1..1..2..0....1..2..1..1 ..2..1..0..0....0..1..1..0....0..0..0..1....2..2..1..0....0..2..1..2 ..0..1..2..0....0..1..1..0....1..2..1..2....1..2..2..0....1..1..0..0 ..2..1..1..0....0..2..1..0....1..0..2..0....0..1..1..2....1..1..0..0 ..1..0..2..1....0..0..2..1....2..1..1..0....1..2..0..1....0..1..2..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..144
Comments