Number of n X n 0..2 matrices whose square is also a 0..2 matrix.

A213984

Number of n X n 0..2 matrices whose square is also a 0..2 matrix.

Terms

    a(0) =2a(1) =24a(2) =1003a(3) =120133a(4) =35799856a(5) =24651985100

External references