A213986 Number of n X n 0..4 matrices whose square is also a 0..4 matrix.
3, 72, 8168, 3510112, 5018010431
Offset: 1
Keywords
Examples
Some solutions for n=3 ..0..4..1....0..4..4....0..4..4....2..0..0....1..0..2....0..3..2....2..2..0 ..0..0..0....0..0..0....1..0..0....0..2..2....0..2..0....0..1..0....0..0..2 ..0..1..0....0..0..0....0..0..0....0..0..0....0..0..1....0..0..0....0..0..0
Comments