Abstract:This paper introduces how to compile the mathematic model ofeighth and sixteenth order magic square and how to change twofold magic squ-are problem into onefold magic square problem.The twofold magic square is made by solving liner equations and thus the difficulty of making the twofoldmagic square is reduced.