| 6 | 1 | 8 |
| 7 | 5 | 3 |
| 2 | 9 | 4 |
Magic Square of 5.[242]
| 15 | 8 | 1 | 24 | 17 |
| 16 | 14 | 7 | 5 | 23 |
| 22 | 20 | 13 | 6 | 4 |
| 3 | 21 | 19 | 12 | 10 |
| 9 | 2 | 25 | 18 | 11 |
Magic Square of 7.[242]
| 28 | 19 | 10 | 1 | 48 | 39 | 30 |
| 29 | 27 | 18 | 9 | 7 | 47 | 38 |
| 37 | 35 | 26 | 17 | 8 | 6 | 46 |
| 45 | 36 | 34 | 25 | 16 | 14 | 5 |
| 4 | 44 | 42 | 33 | 24 | 15 | 13 |
| 12 | 3 | 43 | 41 | 32 | 23 | 21 |
| 20 | 11 | 2 | 49 | 40 | 31 | 22 |
The ordinary Malay astrologer most likely understands very little of the peculiar properties of a magic square, and consequently he not unfrequently makes mistakes in the arrangement of the figures. I believe, also, that in using the squares for purposes of divination he now usually begins at one corner and counts straight on, the beginning place being almost always distinguished by a small solitary crescent or crescent and star just over the square.[243] When coloured squares are introduced, as is the case with several of the 5-squares, the sum of 25 squares is subdivided into five sets or groups of five squares each, a different colour being assigned to each group. These colours would no doubt retain the comparative values usually assigned to them by Malay astrologers. Thus white would be the best of all; yellow, as the royal colour, little, if at all inferior to white; brown, blue, or red would be medium colours; black would be bad, and so on.
Sometimes, again, the names of the five Hindu deities already mentioned will be found similarly arranged, in which case they appear to refer to the divisions of the day, described above under the name of Katika Lima. Besides this class of magic squares, however, there are other kinds which present irregularities, and are not so easily explainable. Some of these violate the fundamental rule of the magic square, which insists that each square shall have an equal number of small squares running each way, and that this number shall be an odd one.
Others exhibit the right number of small squares (3 × 3 or 5 × 5 or 7 × 7), but instead of a subdivision into sub-groups, have merely an arrangement of alternative emblems, such as a bud and a full-blown flower, or the like.
An analysis of the squares whose figures are given in the illustrations shows that the order of the colours, deities, and planets is by no means always the same.
Thus, in the matter of the order of the five colours, we have:—