Number of nX4 arrays of permutations of 4 copies of 0..n-1 with every element equal to at least one vertical or antidiagonal neighbor and the top left element equal to 0.

A268158

Number of nX4 arrays of permutations of 4 copies of 0..n-1 with every element equal to at least one vertical or antidiagonal neighbor and the top left element equal to 0.

Terms

    a(0) =0a(1) =3a(2) =14a(3) =906a(4) =23592a(5) =3304920a(6) =334738800a(7) =79401782880

External references