A222555 T(n,k)=Number of length (n+k)X1 arrays of occupancy after each element moves up to +-k places but not 0.
1, 7, 2, 31, 20, 4, 121, 102, 64, 8, 456, 427, 359, 208, 16, 1709, 1668, 1562, 1279, 651, 32, 6427, 6372, 6220, 5761, 4537, 2056, 64, 24301, 24230, 24024, 23341, 21239, 15929, 6496, 128, 92368, 92279, 92011, 91052, 87752, 78245, 56041, 20483, 256, 352705
Offset: 1
Examples
Some solutions for n=3 k=4 ..0....1....3....1....0....1....0....2....0....2....0....0....2....0....1....0 ..2....0....0....0....1....2....0....2....3....2....1....0....0....1....0....1 ..1....1....0....0....0....1....3....2....0....3....0....2....1....2....3....0 ..1....0....1....4....1....1....1....1....1....0....0....2....0....0....3....0 ..0....2....1....0....1....2....0....0....0....0....0....0....3....4....0....1 ..3....2....1....1....0....0....1....0....1....0....4....2....0....0....0....4 ..0....1....1....1....4....0....2....0....2....0....2....1....1....0....0....1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..55
Comments