A208864 T(n,k)=Number of nXk 0..3 arrays with new values 0..3 introduced in row major order and no element equal to more than one of its immediate leftward or upward or left-upward diagonal neighbors.
1, 2, 2, 5, 11, 5, 15, 127, 127, 15, 51, 1691, 5796, 1691, 51, 187, 23047, 273049, 273049, 23047, 187, 715, 315203, 12883280, 44452082, 12883280, 315203, 715, 2795, 4313071, 607924387, 7240366702, 7240366702, 607924387, 4313071, 2795, 11051, 59022155
Offset: 1
Examples
Some solutions for n=4 k=3 ..0..0..1....0..0..0....0..1..1....0..1..0....0..0..0....0..0..0....0..0..0 ..0..2..0....0..1..2....1..0..2....0..2..3....0..1..2....0..1..1....0..1..1 ..1..2..1....1..2..3....3..0..1....3..0..0....2..1..2....0..1..2....1..2..0 ..3..0..0....1..0..0....1..1..2....2..1..3....0..1..2....2..3..2....1..0..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..144
Crossrefs
Column 1 is A007581(n-1)
Comments