A205161 T(n,k)=Number of nXk 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically or nw-to-se diagonally, and new values 0..3 introduced in row major order.
1, 2, 2, 4, 15, 4, 12, 159, 159, 12, 40, 2191, 6941, 2191, 40, 143, 31168, 332285, 332285, 31168, 143, 528, 447343, 15821727, 54314298, 15821727, 447343, 528, 1979, 6427791, 754700909, 8797534495, 8797534495, 754700909, 6427791, 1979, 7466, 92387812
Offset: 1
Examples
Some solutions for n=5 k=3 ..0..0..1....0..1..0....0..0..1....0..0..1....0..0..1....0..0..1....0..1..0 ..2..0..3....0..1..0....0..0..1....1..2..1....0..1..0....0..1..0....2..0..1 ..3..1..1....1..2..1....2..3..2....1..3..2....2..2..1....2..2..1....0..2..1 ..0..1..2....0..1..1....1..2..0....0..3..3....0..3..1....1..3..2....1..2..3 ..1..2..0....3..3..0....1..0..0....0..1..3....0..1..0....0..1..0....3..0..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..84
Comments