A213985 Number of n X n 0..3 matrices whose square is also a 0..3 matrix.
2, 36, 2546, 604639, 421195466, 801373175814
Offset: 1
Keywords
Examples
Some solutions for n=3 ..1..0..0....0..2..1....1..2..1....0..3..0....0..0..2....0..1..3....0..1..0 ..0..0..3....0..0..0....0..0..0....0..1..1....0..1..1....0..0..1....0..1..0 ..0..0..1....0..0..1....1..0..0....0..2..0....0..1..1....0..0..0....0..1..1
Comments