A267722 Number of nX5 arrays of permutations of 5 copies of 0..n-1 with every element equal to at least one horizontal neighbor and the top left element equal to 0.
1, 5, 58, 1398, 55896, 3353880, 281725200, 31553227440, 4543664711040, 817859648350080
Offset: 1
Keywords
Examples
Some solutions for n=4 ..0..0..3..3..3....0..0..1..1..1....0..0..1..1..1....0..0..0..3..3 ..0..0..0..2..2....3..3..3..2..2....2..2..2..2..2....0..0..1..1..1 ..1..1..1..1..1....3..3..2..2..2....3..3..0..0..0....2..2..3..3..3 ..2..2..2..3..3....1..1..0..0..0....3..3..3..1..1....1..1..2..2..2
Crossrefs
Cf. A267724.
Comments