A197431 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,1,1 for x=0,1,2,3,4.
1, 3, 3, 4, 9, 4, 5, 20, 20, 5, 9, 71, 68, 71, 9, 16, 227, 448, 448, 227, 16, 25, 664, 2152, 5197, 2152, 664, 25, 39, 2107, 10684, 43909, 43909, 10684, 2107, 39, 64, 6675, 55567, 410456, 720447, 410456, 55567, 6675, 64, 105, 20696, 280544, 4017895, 11769456
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..1..2..1..0....1..1..0..1....0..0..0..1....1..0..0..1....0..1..1..0 ..0..2..1..0....0..2..0..1....0..2..1..3....3..1..1..1....2..1..4..1 ..0..1..3..0....0..1..3..1....0..1..4..1....1..4..1..0....1..0..1..1 ..1..4..1..1....1..4..1..0....0..3..1..0....0..1..4..1....2..1..3..0 ..1..1..0..1....1..1..3..0....2..1..2..0....2..1..1..2....0..1..1..2 ..0..2..1..2....0..0..1..1....1..0..0..0....1..0..0..0....1..2..0..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..144
Comments