Number of nX3 arrays containing 3 copies of 0..n-1 with no element 1 greater than its west neighbor modulo n and the upper left element equal to 0.

A266307

Number of nX3 arrays containing 3 copies of 0..n-1 with no element 1 greater than its west neighbor modulo n and the upper left element equal to 0.

Terms

    a(0) =1a(1) =1a(2) =39a(3) =8190a(4) =3264584a(5) =2357929910

External references