A207317 T(n,k)=Number of nXk 0..2 arrays avoiding the pattern z-2 z-1 z in any row, column or nw-to-se diagonal.
3, 9, 9, 26, 81, 26, 75, 676, 676, 75, 216, 5625, 15390, 5625, 216, 622, 46656, 347502, 347502, 46656, 622, 1791, 386884, 7791488, 21162579, 7791488, 386884, 1791, 5157, 3207681, 174545777, 1274682671, 1274682671, 174545777, 3207681, 5157, 14849
Offset: 1
Examples
Some solutions for n=4 k=3 ..2..0..1....2..0..2....0..0..2....2..2..2....2..2..1....2..2..0....2..1..2 ..2..0..2....1..1..1....0..0..2....1..2..1....2..0..2....0..0..2....1..2..1 ..1..0..2....1..0..0....0..0..0....0..2..2....2..2..0....2..0..0....0..2..1 ..1..2..1....1..2..2....1..2..0....0..0..2....0..2..1....1..0..1....1..1..2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..180
Comments