Mathematical Recreations and Essays
Original PDF link to page 149 · Original PDF link to page 137
orders, we can construct one of the th order. For example, a square of 81 cells may be considered as composed of 9 smaller squares each containing 9 cells, and by filling the cells in each of these small squares in the same relative order and taking the small squares themselves in the same order, the square can be constructed easily. Such squares are called composite magic squares.
The second method, which was introduced by Frénicle, consists in surrounding a magic square with a border. Thus in figure xii on the following page the inner square is magic, and it is surrounded with a border in such a way that the whole square is also magic. In this manner from the magic square of the 3rd order we can build up successively squares of the orders 5, 7, 9, &c., that is, any odd magic square. Similarly from the magic square of the 4th order we can build up successively any higher even magic square.
If we construct a magic square of the first numbers by bordering a magic square of numbers, the usual process is to reserve for the numbers in the border the first natural numbers and the last numbers. Now the sum of the numbers in each line of a square of the order is , and the average is . Similarly the average number in a square of the th order is . The difference of these is . We begin then by taking any magic square of the order , and we add to every number in it ; this makes the average number .
The numbers reserved for the border occur in pairs, and 1, and 2, and 3, &c., such that the average of each pair is , and they must be bordered on the square so that these numbers are opposite to one another. Thus the bordered square will be necessarily magic, provided that the sum of the numbers in two adjacent sides of the external border is correct. The arrangement of the numbers in the borders will be somewhat facilitated if the number (which has to be placed opposite to the number ) is denoted by , but it is not worth while going into further details here.
It will illustrate sufficiently the general method if I explain how the square in figure xii is constructed. A magic square of the third order is formed by De la Loubère’s rule, and to every number in it 8 is added: the result is the inner square in figure xii. The numbers not used are 25 and 1, 24 and 2, 23 and 3, 22 and 4, 21 and 5, 20 and 6, 19 and 7, 18 and 8. The sum of each pair is 26, and obviously they must be
Original PDF link to page 152 · Original PDF link to page 152 · Original PDF link to page 152
placed at opposite ends of any line.
I believe that with a little patience a magic square of any order can be thus built up, and of course it will have the property that, if each border is successively stripped off, the square will still remain magic. Some examples are given by Violle. This is the method of construction commonly adopted by self-taught mathematicians, many
of whom seem to think that the empirical formation of such squares is a valuable discovery.
There are magic circles, rectangles, crosses, diamonds, stars, and other figures: also magic cubes, cylinders, and spheres. The theory of the construction of such figures is of no value, and I cannot spare the space to describe rules for forming them.
HYPER-MAGIC SQUARES.
In recent times attention has been mainly concentrated on the formation of magic squares with the imposition of additional conditions; some of the resulting problems involve mathematical difficulties of a high order.
Nasik Squares.
In one species of hyper-magic squares the squares are formed so that the sums of the numbers along all the rows and columns, both diagonals, and all the broken diagonals are the same. In England these are called nasik squares or pan-diagonal magic squares: in France carrés diaboliques or carrés magiquement magiques. These squares were mentioned by De la Hire, Sauveur, and Euler; but the theory is mainly due to Mr A.H. Frost, who has expounded it in the memoirs mentioned in the footnote on page 123, and to M. Frolow, who treated it in two memoirs, St Petersburg, 1884, and Paris, 1886. Of course a nasik square can be divided by a vertical or horizontal cut and the pieces interchanged without affecting the magical property. By
one vertical and one horizontal transposition of this kind any number can be moved to any specified cell.
A nasik square of the fourth order is represented in figure ii on page 121, and one of the fifth order is represented in figure xiii on the preceding page. Nasik squares of the order can be constructed by rules analogous to those given by De la Loubère, except that a knight’s and not a bishop’s move must be used in connecting cells filled by consecutive numbers and that for orders higher than five special rules for going from the cell occupied by the number to that occupied by the number have to be laid down.
Doubly-Magic Squares. In another species of hyper-magic squares the problem is to construct a magic square of the th order in such a way that if the number in each cell is replaced by its th power the
resulting square shall also be magic. Here for example (see figure xiv) is a magic square of the eighth order, the sum of the numbers in each line being equal to 260, so constructed that if the number in each cell is replaced by its square the resulting square is also magic (the sum of the numbers in each line being equal to 11180).
MAGIC PENCILS. Hitherto I have concerned myself with numbers arranged in lines. By reciprocating the figures composed of the
See M. Coccoz in L’Illustration, May 29, 1897.
Original PDF link to page 137 · Original PDF link to page 152
points on which the numbers are placed we obtain a collection of lines forming pencils, and, if these lines be numbered to correspond with the points, the pencils will be magic*. Thus, in a magic square of the th order, we arrange consecutive numbers to form lines, each containing numbers so that the sum of the numbers in each line is the same. Reciprocally we can arrange lines, numbered consecutively to form pencils, each containing lines, so that in each pencil the sum of the numbers designating the lines is the same.
For instance, figure xv represents a magic square of 64 consecutive
numbers arranged to form 18 lines, each of 8 numbers. Reciprocally, figure xvi represents 64 lines arranged to form 18 pencils, each of 8 lines. The method of construction is fairly obvious. The eight-rayed pencil, vertex , is cut by two parallels perpendicular to the axis of the pencil, and all the points of intersection are joined cross-wise. This gives 8 pencils, with vertices ; 8 pencils, with vertices ; one pencil with its vertex at ; and one pencil with its vertex on the axis of the last-named pencil.
The sum of the numbers in each of the 18 lines in figure xv is the same. To make figure xvi correspond to this we must number the lines in the pencil from left to right, , following the order of the numbers in the first column of the square: the lines in pencil must be numbered similarly to correspond to the numbers in the second column of the square, and so on. To prevent confusion in the figure I
- See Magic-Reciprocals by G. Frankenstein, Cincinnati, 1875.
have not inserted the numbers, but it will be seen that the method of construction ensures that the sum of the 8 numbers which designate the lines in each of these 18 pencils is the same.
We can proceed a step further, if the resulting figure is cut by two other parallel lines perpendicular to the axis, and if the points of their intersection with the cross-joins be joined cross-wise, these new cross-joins will intersect on the axis of the original pencil or on lines
perpendicular to it. The whole figure will now give lines, arranged in 244 pencils each of 8 rays, and will be the reciprocal of a magic cube of the 8th order. If we reciprocate back again we obtain a representation in a plane of a magic cube.
MAGIC SQUARE PUZZLES. Many empirical problems, closely related to magic squares, will suggest themselves; but most of them are more correctly described as ingenious puzzles than as mathematical recreations. The following will serve as specimens.
Magic Card Square. The first of these is the familiar problem of placing the sixteen court cards (taken out of a pack) in the form of a square so that no row, no column, and neither of the diagonals shall contain more than one card of each suit and one card of each rank. The solution presents no difficulty, and is indicated in figure xviii on the next page.
Euler’s Officers Problem†. A similar problem, proposed by Euler in 1779, consists in arranging, if it be possible, thirty-six officers taken from six regiments—the officers being in six groups, each consisting of six officers of equal rank, one drawn from each regiment; say officers of rank , drawn from the 1st, 2nd, 3rd, 4th, 5th, and 6th regiments—in a solid square formation of six by six, so that each row and each file shall contain one and only one officer of each rank and one and only one officer from each regiment. The problem is insoluble.