A222842 T(n,k) is the number of n X k 0..3 arrays with no more than floor(n*k/2) elements equal to at least one horizontal or vertical neighbor, with new values introduced in row major 0..3 order.
1, 1, 1, 2, 8, 2, 11, 105, 105, 11, 34, 1585, 4797, 1585, 34, 131, 23107, 326408, 326408, 23107, 131, 438, 353631, 15364848, 70144361, 15364848, 353631, 438, 2150, 5338646, 1077545438, 15371324917, 15371324917, 1077545438, 5338646, 2150, 7676
Offset: 1
Examples
Some solutions for n=3 and k=4: ..0..1..0..2....0..1..0..1....0..1..0..2....0..1..0..0....0..1..1..2 ..3..0..3..2....1..2..1..0....0..0..2..2....2..2..0..1....1..0..2..3 ..2..1..3..0....0..1..2..2....2..1..0..3....3..0..1..0....0..1..2..3
Links
- R. H. Hardin, Table of n, a(n) for n = 1..60
Comments