A221852 T(n,k)=Number of nXk arrays of occupancy after each element stays put or moves to some horizontal, diagonal or antidiagonal neighbor, without consecutive moves in the same direction.
1, 3, 1, 6, 31, 1, 13, 302, 306, 1, 28, 3437, 10085, 2989, 1, 60, 37155, 465305, 354670, 29135, 1, 129, 406612, 19159028, 67228149, 12277568, 283872, 1, 277, 4434129, 811781250, 10799370973, 9607602488, 426752551, 2765627, 1, 595, 48397883
Offset: 1
Examples
Some solutions for n=3 k=4 ..0..0..3..1....0..0..0..2....0..1..3..0....0..0..1..1....0..1..1..0 ..0..1..1..1....0..4..1..2....0..0..1..1....0..3..0..1....1..3..0..1 ..1..4..0..0....2..0..0..1....3..1..1..1....0..4..1..1....0..1..4..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..40
Comments