A204705 T(n,k) = Number of n X k 0..2 arrays with no occurrence of three equal elements in a row horizontally, vertically or nw-to-se diagonally, and new values 0..2 introduced in row major order.
1, 2, 2, 4, 14, 4, 11, 96, 96, 11, 30, 726, 1417, 726, 30, 82, 5400, 22869, 22869, 5400, 82, 224, 40344, 362020, 835135, 362020, 40344, 224, 612, 301056, 5767683, 29846373, 29846373, 5767683, 301056, 612, 1672, 2247264, 91733605, 1074195735, 2389914827
Offset: 1
Examples
Some solutions for n=5, k=3 ..0..0..1....0..0..1....0..1..2....0..1..0....0..1..0....0..0..1....0..0..1 ..1..0..0....2..0..1....1..1..2....2..1..2....0..1..1....1..2..2....1..0..2 ..0..2..1....2..1..2....1..2..1....2..2..1....1..0..2....2..1..2....2..1..1 ..0..0..2....1..2..1....0..1..2....0..1..1....1..2..2....2..2..0....0..1..2 ..1..0..1....0..2..1....2..1..2....0..0..2....2..0..0....0..1..1....0..2..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..127
Crossrefs
Column 1 is A021006(n-3).
Comments