A213989 Number of n X n 0..7 matrices whose square is also a 0..7 matrix.
3, 148, 40370, 56599992, 361204218672
Offset: 1
Keywords
Examples
Some.solutions.for.n=3 ..0..1..7....0..5..3....0..2..1....0..1..7....0..2..5....2..0..0....0..7..0 ..0..0..5....0..0..0....0..0..0....0..0..2....0..0..0....0..1..1....0..1..0 ..0..0..0....0..0..0....0..3..2....0..0..0....0..0..1....0..0..1....0..6..0
Comments