A240649 T(n,k)=Number of nXk 0..1 arrays with no element equal to the same number of vertical neighbors as horizontal neighbors, with new values 0..1 introduced in row major order.
0, 1, 1, 1, 2, 1, 2, 2, 2, 2, 3, 3, 6, 3, 3, 5, 6, 8, 8, 6, 5, 8, 10, 23, 18, 23, 10, 8, 13, 21, 60, 61, 61, 60, 21, 13, 21, 42, 149, 168, 232, 168, 149, 42, 21, 34, 86, 396, 526, 953, 953, 526, 396, 86, 34, 55, 179, 1050, 1643, 4343, 5304, 4343, 1643, 1050, 179, 55, 89, 370
Offset: 1
Examples
Some solutions for n=4 k=4 ..0..0..0..1....0..0..0..0....0..1..0..0....0..0..1..1....0..0..0..0 ..1..1..1..1....1..0..1..1....0..1..1..1....1..1..0..0....1..1..0..1 ..0..1..0..1....1..0..0..0....0..1..0..0....0..0..1..1....0..0..0..1 ..0..1..0..1....1..0..1..1....1..1..1..1....1..1..0..0....1..1..0..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..220
Formula
Empirical for column k:
k=1: a(n) = a(n-1) +a(n-2)
k=2: a(n) = 2*a(n-1) +a(n-2) -a(n-3) -2*a(n-4) +a(n-5)
k=3: [order 20]
k=4: [order 48]
Comments