A222378 T(n,k)=Number of nXk 0..3 arrays with no more than floor(nXk/2) elements unequal to at least one horizontal or vertical neighbor, with new values introduced in row major 0..3 order.
1, 1, 1, 1, 1, 1, 4, 5, 5, 4, 5, 18, 9, 18, 5, 14, 63, 118, 118, 63, 14, 17, 234, 498, 1391, 498, 234, 17, 75, 1163, 8111, 20340, 20340, 8111, 1163, 75, 95, 4953, 37107, 342953, 271141, 342953, 37107, 4953, 95, 411, 24021, 676485, 6221698, 16985929, 16985929
Offset: 1
Examples
Some solutions for n=4 k=4 ..0..0..0..0....0..0..0..0....0..0..0..0....0..1..1..1....0..1..2..2 ..0..0..0..0....0..0..0..0....1..1..0..0....0..2..1..1....1..1..1..2 ..0..0..1..0....0..0..0..0....2..0..0..0....3..1..1..1....1..1..1..1 ..2..1..0..0....1..0..2..2....0..0..0..0....1..1..1..1....1..1..1..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..84
Comments