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

A266831

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

Terms

    a(0) =1a(1) =0a(2) =2a(3) =95a(4) =27315a(5) =18101569a(6) =20154412479

External references