A183719 T(n,k) = 1/20 of the number of (n+1) X (k+1) 0..4 arrays with every 2 X 2 subblock strictly increasing clockwise or counterclockwise with one decrease.
2, 5, 5, 12, 17, 12, 29, 54, 54, 29, 70, 174, 224, 174, 70, 169, 559, 950, 950, 559, 169, 408, 1797, 4012, 5362, 4012, 1797, 408, 985, 5776, 16964, 30113, 30113, 16964, 5776, 985, 2378, 18566, 71712, 169560, 224640, 169560, 71712, 18566, 2378, 5741, 59677
Offset: 1
Examples
Some solutions for 4 X 3: ..3..0..4....3..0..4....1..4..1....0..1..4....3..4..3....1..2..1....2..1..2 ..2..1..2....2..1..2....2..3..2....4..2..3....2..0..1....4..3..0....3..0..4 ..3..0..4....3..4..3....0..4..0....0..1..0....3..4..3....1..2..1....2..1..2 ..2..1..3....2..1..2....2..3..1....3..2..3....2..1..2....0..3..4....3..0..3 ... ...R..L.......R..L.......L..R.......R..L.......R..L.......R..L.......L..R... ...L..R.......L..R.......R..L.......L..R.......L..R.......L..R.......R..L... ...R..L.......R..L.......L..R.......R..L.......R..L.......R..L.......L..R...
Links
- R. H. Hardin, Table of n, a(n) for n = 1..363
Comments