Find the number of ways in which the nine digits 1,2,3,...,9 can be arranged in a 3*3 square array such that the determinant of this square is an odd integer. Each digit to be used only once.
(In reply to
re(2): Computer Solution by Charlie)
I was trying to figure out where I went wrong and I couldn't find any mistake.
When I started this problem, I wasn't sure about Python's matrix methods (I assumed it would be in NumPy); so I made a function to find the determinant manually.
|
Posted by Larry
on 2024-05-29 21:45:30 |