A magic square


The magic square is a puzzle known to most people:
For a square of positive numbers the products for the rows and columns are given.
And possibly for the diagonals.
Question:
What are the numbers in the square?
For those of you who can't be bothered anymore doing it manually; here is the automated answer.


The process comes in three steps:
  1. Enter the values to set up the square:
    • the number of rows/columns:
    • are the products for the diagonals to be entered: No Yes
  2. Fill in the given products.
  3. The result is presented.

If you have any remarks or questions, you can always contact me.