Skip to content
MS

Magic Square Generator

Publisher: TU
Virus scanned Windows Free
Download v1.1 4.5K downloads
Version1.1
Publisher TU
Release dateAug 26, 2005
Date addedMar 3, 2011
Os requirementsWindows 98/Me/NT/2000/XP/2003/Vista/Server 2008/7
RequirementsNone
Total downloads4,455
Downloads per week1
PriceFree

Description

The program searches for all magic squares of an order prescribed by the user (in a clever way). The solutions are written to the screen and an output file.

In principal the program will find all magic squares of any order.

The major limitation is computation time. All magic squares of order 4x4 are found in a matter of minutes. For higher orders computation times increase considerably.

However, intermediate results are written to the output file.

(Up to now, the maximum allowed order is 1290x1290 due to the maximum allowed values of integers in the code, this is to be fixed in a later version, possibly by the user if he obtains the source code. There is no principal limitation in the maximum order because of the generality of the coding).

The program can be run from the command prompt. It is written in the Fortran90 language.

Similar programs

Alternatives