Let J_n be n X n matrix which contains 1's only, I=I_n be the n X n identity matrix and P=P_n be the incidence matrix of the cycle (1,2,3,...,n). Then a(n) is the number of (0,1,2) n X n matrices A<=2(J_n-I-P-P^2-P^3) with exactly one 1 and one 2 in every row and column.

A174585

Let J_n be n X n matrix which contains 1's only, I=I_n be the n X n identity matrix and P=P_n be the incidence matrix of the cycle (1,2,3,...,n). Then a(n) is the number of (0,1,2) n X n matrices A<=2(J_n-I-P-P^2-P^3) with exactly one 1 and one 2 in every row and column.

Terms

    a(0) =0a(1) =2a(2) =132a(3) =9800a(4) =1309928

External references