Magic Square Combinatorics

668 Views Asked by At

This question has been noted to be close to a Project Euler question.

Please Help me with this question:Considering a 4*4 magic square ,How many ways are there to fill each square with an integer from 1 to 10, such that the sum of each row and column is the same?The integers can be used multiple times