| magic_rectangle | Construct a magic rectangle or nearly magic rectangle of order p x q |
| print.magicrect | Construct a magic rectangle or nearly magic rectangle of order p x q |
| rectangle_type | Classify which rectangle exists for a given order |
| verify_rectangle | Verify the defining properties of a (nearly) magic rectangle |