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

A266453

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

Terms

    a(0) =1a(1) =0a(2) =39a(3) =6152a(4) =2079765a(5) =1362641028

External references