The method I have found to generate 4 by 4 magic squares gives me a result in which the number "1" is at of the corners of the square. How can we extend this to a method to generate a magic square, for a fixed location of number "1"?
The number "1" can be in 16 different locations (cells). If we name the cells, from upper left corner: 1, 2, 3,4, 5, ..., and the number "1" is at the $i^th$ cell, then how we can fill the other cells to make a magic square?