Download of a small
applet ("red5.exe", 50 kb), written in VB 5, expected to run under every The applet generates all reduced 5x5 magic squares, where entries may be prescribed by the user.A 5x5 magic square is called reduced, if the following nine inequalities hold (see [some theory]): _{01}<c_{05}, c_{01}<c_{21}, c_{01}<c_{25},
c_{01}<c_{07}, c_{01}<c_{09}, c_{01}<c_{17},
c_{01}<c_{19}, c_{05}<c_{21}, c_{02}<c_{04}. | |

fixed entriesthe user may prescribe fixed entries, if no fixes are made, the program starts with the "first" reduced 5x5 magic square, where the entries c _{01}, ...,c_{25} are computed in the following order:c _{01}, c_{05}, c_{21}, c_{25}, c_{13}, c_{08}, c_{14}, c_{12}, c_{18},
c_{07}, c_{19}, c_{09}, c_{17},c _{02}, c_{22}, c_{04}, c_{03}, c_{24},
c_{23}, c_{11}, c_{15}, c_{06}, c_{10}, c_{16}, c_{20}.
testthe user made entries are tested; a passed test means no guaranty, that there exists a reduced 5x5 magic square with these entries. startthe search for reduced 5x5 magic squares begins. | |

stopcauses a break, the user is asked whether to continue or not. fixed entries are displayed in red color, the grey numbers show the algorithm in action. date and
time are displayed when the computation startsand when the computation ends. the solution number and the last found
solution are displayed.count only
solutions are not displayed, when checked. stop at next solutioncauses a break, when the next solution is found. | |

home some theory
general 5x5 squares |