A213984 Number of n X n 0..2 matrices whose square is also a 0..2 matrix.
2, 24, 1003, 120133, 35799856, 24651985100
Offset: 1
Keywords
Examples
Some solutions for n=3 ..0..1..1....1..0..1....0..2..0....0..1..0....1..1..2....0..0..0....0..1..2 ..0..0..2....0..0..2....0..0..0....0..1..2....0..0..0....0..0..0....1..0..0 ..0..0..0....0..1..0....0..0..0....0..0..0....0..0..0....0..0..0....0..1..0
Comments