Municipal educational institution "Gymnasium No. 41"

Magic squares

Supervisor: ,

mathematic teacher

Novouralsk, 2012.

Introduction 3

1. General information about magic squares 4

1.1. Magic square concept 4

1.2. From the history of magic squares 4

1.3. Types of magic squares 6

2. Solving magic squares 6

2.1. Solving magic squares (Bachet de Mezirac method) 7

2.2. Statement of problem 8

2.3. Algorithm for solving magic squares 8

2.4. Proof of the algorithm (in algebraic form) 9

2.5. An example of solving a magic square using algorithm 10

3. Using magic squares 11

3.1. Various cases of generalization of magic squares 11

3.2. Application of Latin squares 12

4. General conclusions 13

5. Conclusion 14

6. References 15

Annex 1

Appendix 2

Appendix 3

Introduction

During the math club we were faced with problems related to filling out the cells of a square according to special rules. The proposed numbers had to be entered so that the result satisfies several conditions at once:

If you add up all the numbers in each line,

If you add up all the numbers in each column,

If you add up all the numbers in two diagonals,

then all these sums will be equal to the same number.

Despite the fact that the problems differed in the initial numbers, the order of the numbers, and the specification of the sum, they were all similar, and the solutions were of the same type.

The idea arose not only to solve each problem, but also to come up with a general solution algorithm, and also to find historical information about problems of this type in the literature.

It turned out that the figures we are interested in are called magic squares, known since ancient times. They will be discussed in this work.

Goal of the work: systematize information about magic squares, develop an algorithm for solving them.

Tasks:

1. Study the history of the emergence of magic squares.

2. Identify the types of magic squares.

3. Learn ways to solve magic squares.

4. Develop and prove your solution algorithm.

5. Determine the use of magic squares.

1.General information about magic squares

1.1. The concept of a magic square

Magic squares are very popular even today. These are squares in which numbers are inscribed in each cell so that the sums of the numbers along any horizontal, any vertical and any diagonal are equal. The most famous is the magic square depicted in the engraving of the German artist A. Dürer “Melancholy” (Appendix 1).

1.2. From the history of magic squares

Numbers have become so integral to human life that all sorts of magical properties have been attributed to them. Already several thousand years ago, ancient China became interested in drawing up magic squares. Square amulets were found during archaeological excavations in China and India. The square was divided into nine small squares, in each of which the numbers from 1 to 9 were written. It is remarkable that the sums of all the numbers in any vertical, horizontal and diagonal were equal to the same number 15 (Figure 1).

Picture 1.

In the Middle Ages, magic squares were very popular. One of the magic squares is depicted in the engraving of the famous German artist Albrecht Dürer, “Melancholy”. The 16 cells of the square contain numbers from 1 to 16, and the sum of the numbers in all directions is 34. It is curious that the two numbers in the middle of the bottom line indicate the year the picture was created - 1514. Obtaining magic squares was a popular pastime among mathematicians; huge squares were created , for example, 43x43, containing numbers from 1 to 1849, and in addition to the indicated properties of magic squares, they also have many additional properties. Methods have been invented to construct magic squares of any size, but a formula has not yet been found by which one could find the number of magic squares of a given size. It is known, and you can easily show this yourself, that there are no magic squares of size 2x2, there is exactly one magic square of 3x3, the rest of such squares are obtained from it by rotations and symmetries. There are already 800 magic 4x4 squares, and the number of 5x5 squares is close to a quarter of a million.

1.3. Types of magic squares

Magical(magic square) n 2 numbers in such a way that the sum of the numbers in each row, each column and on both diagonals is the same.

Semi-magic square is an nxn square table filled n 2 numbers in such a way that the sums of the numbers are equal only in the rows and columns.

Normal– a magic square filled with integers from 1 to n 2.

Associative (symmetrical) - a magic square in which the sum of any two numbers located symmetrically about the center of the square is equal to n 2 + 1.

Devil's (pandiagonal) magic square- a magic square, in which the sums of numbers along broken diagonals (diagonals that are formed when the square is folded into a torus) in both directions also coincide with the magic constant.

There are 48 4x4 devilish magic squares with rotation and reflection precision. If we also take into account their additional symmetry - toric parallel translations, then only 3 significantly different squares remain (Figure 2).

Figure 2.

Pandiagonal squares of the fourth order have a number of additional properties for which they are called perfect. There are no perfect squares of odd order. Among pandiagonal squares of double parity above 4 there are perfect ones.

There are 3600 pandiagonal squares of the fifth order. Taking into account toric parallel translations, there are 144 different pandiagonal squares.

2. Solving magic squares

2.1 Solving magic squares (Bachet de Mezirac method)

The rules for constructing magic squares are divided into three categories depending on whether the order of the square is odd, equal to twice an odd number, or equal to four times an odd number. A general method for constructing all squares is unknown, although various schemes are widely used. It is possible to find all magic squares of order n only for n ≤ 4.

To solve normal magic squares of arbitrarily large size, we will use the method described in 1612 by the French mathematician Claude Bachet de Mezirac. A Russian translation of his book was published in St. Petersburg in 1877 under the title “Games and Problems Based on Mathematics.”

It is convenient to build a magic square on checkered paper. Let n be an odd number, and we need to construct a square nxn with numbers from 1 to n2, we proceed in stages.

1. We write all the numbers from 1 to n2 in the cells diagonally (n numbers in a row) to form a diagonal square.

2. Select an nxn square in its center. This is the basis (not all cells are filled yet) of the future magic square.

3. We carefully move each numerical “corner” located outside the central square inside - to the opposite side of the square. The numbers of these corners must fill all empty cells. The magic square has been built.

Let's give an example of filling a 3x3 square with numbers from 1 to 9. To do this, we will add additional cells to the square to get diagonals. First, fill the diagonal cells with numbers from 1 to 9 (Figure 3), then “bend the corners” inward to the opposite side into the empty cells of the square (Figure 4).

Figure 3. Figure 4.

2.2. Formulation of the problem.

Let us describe our method for solving magic squares. Let's focus on studying the mathematical model of 3x3 magic squares.

General formulation of the problem.

There are nine numbers. It is necessary to place them in cells of a 3x3 square, so that along any vertical, horizontal and diagonal the sums of the numbers are equal.

2.3. Algorithm for solving a magic square

Verbal description of the algorithm

1. Sort the numbers in ascending order.

2. Find the central number (fifth in order).

3. Determine pairs according to the rule: 1 pair - the first number and the ninth,

2 pair - second number and eighth,

3 pair - third number and seventh,

4 pair – fourth number and sixth.

4. Find out the sum of numbers (S) that should be obtained by adding the numbers along each vertical, horizontal, diagonal: add the smallest, central, largest number, i.e., the numbers of 1 pair with the central number.

5. Place the central number in the center of the square.

6. Along the central horizontal (or vertical) line, enter the first pair of numbers in the empty cells.

7. Write down the second pair of numbers along any diagonal (so that the larger number of the first pair ends up in the column with the smaller number of the second pair).

8. Calculate the number that needs to be written in one of the outer columns, according to the rule:

from S subtract the sum of the two numbers contained in the cells of the column to obtain a number.

9. Diagonally to the resulting number, write down the second number of its pair.

10. Write the last pair of numbers into the remaining cells according to the rule: write the larger number from the pair in the line with the smaller one, and the smaller one in the remaining empty cell.

2.4. Proof of correct completion of the magic square

(Solution of the problem in general form)

Let us prove that the sums of numbers located along the verticals, horizontals and diagonals of the square as a result of executing the algorithm will be equal.

Let, after ordering, each subsequent number differ from the previous one by a constant amount X. Let's express all the numbers through a1(smallest number) and X:

a1 , a2=a1+x,

a3=a2+X=a1+2x,

a4=a1+3x,

a5=a1+4x,

a6=a1+5x,

a7=a1+6x,

a8=a1+7x,

a9 = a1 +8 x.

Let's find the amount S and express it through numbers a1 And X: S= a1 + a5 + a9 =3 a1 +12 x.

Let the magic square be filled according to the proposed algorithm.

Let us prove that the sums of the numbers located horizontally, vertically and diagonally of the square are equal S.

Vertically:

S1=a4+a3+a8=a1+a1+a1+3x+2x+7x=3a1+12x=S

S2=a9+a5+a1=a1+a1+a1+8x+4x=3a1+12x=S

S3=a2+a7+a6=a1+a1+a1+x+6x+5x=3a1+12x=S

Horizontally:

S4=a4+a9+a2=a1+a1+a1+3x+8x+x=3a1+12x=S

S5=a3+a5+a7=a1+a1+a1+2x+4x+6x=3a1+12x=S

S6=a8+a1+a6=a1+a1+a1+7x+5x=3a1+12x=S

Diagonally:

S7=a4+a5+a6=a1+a1+a1+3x+4x+5x=3a1+12x=S

S8=a8+a5+a2=a1+a1+a1+7x+4x+x=3A1 +12x=S

We received the same amounts. The statement has been proven.

Note.

Numbers organized in this way form an arithmetic progression. In this sequence (after ordering), a1 is the first term of the arithmetic progression, x is the difference of the arithmetic progression. For numbers that do not form an arithmetic progression, the algorithm does not work.

2.5. Example of solving magic squares

The numbers given are: 5,2,4,8,1,3,7,9,6. Fill in the magic square with the given numbers.

1. 1,2,3,4,5,6,7,8,9.

2. We got the central number 5.

3. Pairs: 1 and 9, 2 and 8, 3 and 7, 4 and 6.

4. S = 5+1+9= 15 - sum.

8. 15-(9+2)=4

This algorithm differs significantly from the Bachet de Meziriac method. On the one hand, it requires additional calculations (a disadvantage of the method); on the other hand, our method does not require additional constructions (diagonal square). Moreover, the method is applicable not only to consecutive natural numbers from 1 to 9, but also to any nine numbers that are members of an arithmetic progression, in which we see its advantages. In addition, the magic constant is automatically determined - the sum of numbers along each diagonal, vertical, and horizontal.

3. Using magic squares

3.1. Various cases of generalization of magic squares

The problem of composing and describing magic squares has interested mathematicians since ancient times. However, a complete description of all possible magic squares has not been obtained to this day. As the size (number of cells) of a square increases, the number of possible magic squares quickly increases. Among the large squares there are squares with interesting properties. For example, in the square in Figure No. 5, not only the sums of numbers in the rows, columns and diagonals are equal, but also the sums of fives along the “broken” diagonals, connected in the picture by colored lines.

Figure 5. Figure 6.

Latin squares are a square of n x n cells in which the numbers 1, 2, ..., n are written, and in such a way that all these numbers appear once in each row and each column. (Figure 6) shows two such 4x4 Latin squares. They have an interesting feature: if one square is superimposed on another, then all pairs of resulting numbers turn out to be different. Such pairs of Latin squares are called orthogonal. The problem of finding orthogonal Latin squares was first posed by L. Euler, and in such an entertaining formulation: “Among the 36 officers there are an equal number of lancers, dragoons, hussars, cuirassiers, cavalry guards and grenadiers, and in addition an equal number of generals, colonels, majors, captains, lieutenants and second lieutenants, and Each branch of the military is represented by officers of all six ranks. Is it possible to line up these officers in a 6x6 square so that in any column there are officers of all ranks?” (Appendix 2).

L. Euler could not find a solution to this problem. In 1901 it was proven that such a solution did not exist.

3.2. Application of Latin squares

Magic and Latin squares are close relatives. The theory of Latin squares has found numerous applications, both in mathematics itself and in its applications. Let's give an example. Suppose we want to test two varieties of wheat for yield in a given area, and we want to take into account the influence of the degree of sparseness of crops and the influence of two types of fertilizers. To do this, we will divide the square area into 16 equal parts (Figure 7). We will plant the first variety of wheat on plots corresponding to the lower horizontal stripe, plant the next variety on four plots corresponding to the next stripe, etc. (in the figure the variety is indicated by color.)

Agriculture" href="/text/category/selmzskoe_hozyajstvo/" rel="bookmark">agriculture, physics, chemistry and technology.

4. General conclusions

In the course of doing the work, I became acquainted with various types of Magic Squares, learned a way to solve normal magic squares using the Bachet de Mezirac method. Since our solution to 3x3 magic squares differed from the specified method, but allowed us to correctly fill the cells of the square every time, there was a desire to develop our own algorithm. This algorithm is described in detail in the work and proven in algebraic form. It turned out that it is applicable not only to normal squares, but also to 3x3 squares, where the numbers form an arithmetic progression. We were also able to find examples of the use of magic and Latin squares.

I learned how to: solve some magic squares, develop and describe algorithms, prove statements in algebraic form. I learned new concepts: arithmetic progression, magic square, magic constant, studied the types of squares.

Unfortunately, neither my developed algorithm nor the Bachet de Mezirac method allows solving 4x4 magic squares. Therefore, I wanted to create a solution algorithm for such squares in the future.

5. Conclusion

In this work, magic squares were studied and the history of their origin was considered. The types of magic squares were determined: magic or magic square, semi-magic square, normal, associative, devilish magic square, perfect.

Among the existing methods for solving them, the Bachet de Meziriac method was chosen and tested using examples. In addition, for solving 3x3 magic squares, our own solution algorithm is proposed, and a mathematical proof is given in algebraic form.

The proposed algorithm differs significantly from the Bachet de Meziriac method. On the one hand, it requires additional calculations (a disadvantage of the method); on the other hand, additional constructions are not needed. The method is applicable not only to consecutive natural numbers from 1 to 9, but also to any nine numbers that are members of an arithmetic progression, in which we see its advantages. In addition, the magic constant is automatically determined - the sum of numbers along each diagonal, vertical, and horizontal.

The paper presents a generalization of magic squares - Latin squares and describes their practical application.

This work can be used in mathematics lessons as additional material, as well as in club classes and in individual work with students.

6. References

1. Mysteries of the world of numbers / Comp. – D.: Stalker, 1997.-448 p.

2. Encyclopedic Dictionary of a Young Mathematician / Comp. – M.: Pedagogy, 1989 – 352 pp.: ill.

3. Encyclopedia for children. T11. Mathematics / Ch. ed. – M.: Avanta+, 2000 – 688 pp.: ill.

4. I explore the world: Children's encyclopedia: Mathematics / Comp. – and others – M.: AST, 1996. – 480 pp.: ill.

Testing with Chaturanga Shorin Alexander

5.2.1 About the magic of numbers. What are magic squares

We can talk a lot about the magic of numbers. As an example, at the beginning of this study we already mentioned the number 4. A lot can be said in a similar way about any number.

For example, the number 1 is one, the beginning of everything. Number 2 is separation, the opposition of the two sexes. 3 – triangle... And so on. This is a very fertile topic that you can delve into endlessly.

Therefore, let’s leave it and move on to the magic squares, which are directly related to Chaturanga.

Magic squares are square tables of integers that have unique properties: for example, the sum of numbers along any row, any column, and any of the two main diagonals is equal to the same number.

It is believed that magic squares were invented in Ancient China, and were also known in Ancient India, where Chaturanga originates. In particular, this is proven by N. M. Rudin in his book “From the Magic Square to Chess.”

According to legend, during the reign of Emperor Yu (c. 2200 BC), a sacred turtle surfaced from the waters of the Yellow River (Yellow River), with mysterious hieroglyphs inscribed on its shell. These signs are known as lo-shu and are equivalent to a magic square. In the 11th century They learned about magic squares in India, and then in Japan, where in the 16th century. Extensive literature has been devoted to magic squares. Europeans were introduced to magic squares in the 15th century. Byzantine writer E. Moschopoulos. The first square invented by a European is considered to be the square of A. Durer depicted in his famous engraving “Melancholy 1”. The date of creation of the engraving (1514) is indicated by the numbers in the two central cells of the bottom line. Various mystical properties were attributed to magic squares. In the 16th century Cornelius Heinrich Agrippa constructed squares of the 3rd, 4th, 5th, 6th, 7th, 8th and 9th orders, which were associated with the astrology of the 7 planets. It was believed that a magic square engraved on silver protected against the plague. Even today, among the attributes of European soothsayers you can see magic squares.

In the 19th–20th centuries. interest in magic squares flared up with renewed vigor. They began to be studied using the methods of higher algebra and operational calculus.

Each element of a magic square is called a cell. A square whose side consists of n cells, contains n 2 cells and is called a square n-th order. Most magic squares use the first n consecutive natural numbers. Sum S numbers in each row, each column and on any diagonal is called the square constant and is equal to S= n(n 2 + 1)/2. It has been proven that n– 3. For a square of 3rd order S= 15, 4th order – S= 34, 5th order – S= 65.

The two diagonals passing through the center of the square are called the main diagonals. A broken line is a diagonal that, having reached the edge of the square, continues parallel to the first segment from the opposite edge. Cells that are symmetrical about the center of the square are called skew-symmetric.

Magic squares can be constructed, for example, using the method of a 17th century French geometer. A. de la Lubera.

Using the method of A. de la Loubert, a magic square 5?5 can be constructed as follows:

The number 1 is placed in the center cell of the top row. All natural numbers are arranged in a natural order cyclically from bottom to top in diagonal cells from right to left. Having reached the top edge of the square (as in the case of number 1), we continue to fill the diagonal starting from the bottom cell of the next column. Having reached the right edge of the square (number 3), we continue to fill the diagonal coming from the left cell in the line above. Having reached a filled cell (number 5) or a corner (number 15), the trajectory goes down one cell, after which the filling process continues.

This results in a magic square:

You can also use the method of F. de la Hire (1640–1718), which is based on two original squares. The numbers from 1 to 5 are entered into the cell of the first square so that the number 3 is repeated in the cells of the main diagonal going upward to the right, and not a single number appears twice in the same row or in the same column. We do the same with the numbers 0, 5, 10, 15, 20 with the only difference that the number 10 is now repeated in the cells of the main diagonal, going from top to bottom. The cell-by-cell sum of these two squares forms a magic square. This method is also used to construct squares of even order.

From the book Master of Dreams. Dream dictionary. author Smirnov Terenty Leonidovich

Dream Interpretation of Black Magic (symbols of black magic dreams) Many spiritual seekers, captivated by popular esoteric concepts, do not even suspect that in their development of dreams they are practicing real black magic! This most fully applies to

From the book Practical Magic of the Modern Witch. Rituals, rituals, prophecies author Mironova Daria

Talismans and magic squares The magic of talismans is closely connected with the tradition of numerology. Numbers and letters of the alphabet, as well as special symbols, without which the manufacture of an amulet is indispensable, protect its owner from bad influences. Many talismans look like

From the book Rituals of Money Magic author Zolotukhina Zoya

The magic of numbers Your magic number For each of us, numerologists say, there is a kind of key to the cherished secret - a magic number sign. To determine it, you need to add up all the numbers of your date of birth. Add until you get

From the book Find out your future. Make Fortune work for you author Korovina Elena Anatolyevna

Ratio of numbers and letters

From the book Star of Protection and Money Talisman. Anti-crisis numerology author Korovina Elena Anatolyevna

Ratio of numbers and letters Table

From the book Date of birth is the key to understanding a person author Alexandrov Alexander Fedorovich

TRANSITIONS OF NUMBERS We can congratulate you on the fact that all the characteristics of numbers have been studied. Feel free to start calculating the birth dates of all your loved ones, friends, acquaintances, strangers and enemies. Great! Now everyone will reveal their “hidden essence”. Start, of course, with yourself - and you will immediately

From the book Slavic karmic numerology. Improve the matrix of your destiny author Maslova Natalya Nikolaevna

RELATIONSHIP OF NUMBERS 5 AND 9 The last transition cannot be called a transition itself, since we are not talking about the transition of one digit to another, but about the strengthening of one digit through another. Let's consider the mutual influence of numbers 5 (logic) and 9 (memory) on each other. Before we define

From the book What can you find out about a person by his date of birth and name author Zyurnyaeva Tamara

Directory. The meaning of the numbers This is the strength of character, the yang energy of a person, his sun. The presence of units in the matrix determines a person’s determination, his self-esteem, the presence of leadership qualities, the degree of his

From the book Mathematics for Mystics. Secrets of Sacred Geometry by Chesso Renna

The magic of numbers or mathematics? Since ancient times, people have turned to numbers and given them sacred meaning. To unravel the mystery of numbers meant to unravel the mystery of life. Even the ancient Greek sage Pythagoras believed that everything in the world is known through numbers. Numbers were given

From the book of Mudra. Everything in one book. Make any wish come true author Levin Peter

Chapter No. 5 Magic squares We call them magic squares or planetary squares. Or seals, cameos, tables. Like many other magical instruments, they are known by different names in different systems, but whatever they are called, they date

From the book Numerical birth code and its influence on fate. How to calculate your luck author Mikheeva Irina Firsovna

From the book About magic is funny, about magic is serious author Kartavtsev Vladislav

Energy of numbers In order to determine the meaning of the genetic number of a birthday, it is necessary, first of all, to determine the meaning of the number itself, its status and energy content. According to the concepts of our everyday life, the “weight” of each numerical value increases as the value itself increases

From the book Testing with Chaturanga author Shorin Alexander

Characteristics of numbers Number 1 is red. The point of reality, the basis, the core of the entire digital superstructure, which determines the Type of this or that energy flow. The purpose of number 1 is to determine the meaning, importance and weight of the emerging reality. So in the world of business

From the author's book

“Magical Proofs” or “Proofs of Magic” “You are a bad person!” Or: “He is a bad person” Or: “He is a good person!” Or: “You are a good person!” Choose! What do you prefer? Isn’t it funny to watch the “ritual Zulu dances on

From the author's book

5.2. Magic squares in Chaturanga. Chaturanga as fortune telling 5.2.1 About the magic of numbers. What are magic squares? You can talk a lot about the magic of numbers. As an example, at the beginning of this study we already mentioned the number 4. Much can be said in a similar way about any

From the author's book

5.2.2. Magic squares in Chaturanga 5.2.2.1 The magic of a non-magical square It is curious that the simplest (non-magical) square 5?5, where the numbers simply go one after another - from 1 to 25, can also have unusual properties. So, in this simple square the sum of the “Elephant Cross”

Introduction

The great scientists of antiquity considered quantitative relations to be the basis of the essence of the world. Therefore, numbers and their relationships occupied the greatest minds of mankind. “In the days of my youth, I amused myself in my spare time by making... magic squares,” wrote Benjamin Franklin. A magic square is a square whose sum of numbers in each horizontal row, in each vertical row and along each diagonal is the same.

Some outstanding mathematicians devoted their work to magic squares, and the results they obtained influenced the development of groups, structures, Latin squares, determinants, partitions, matrices, comparisons and other non-trivial areas of mathematics.

The purpose of this essay is to get acquainted with various magic squares, Latin squares and study the areas of their application.

Magic squares

A complete description of all possible magic squares has not been obtained to this day. There are no magic 2x2 squares. There is only one 3x3 magic square, since other 3x3 magic squares are obtained from it either by rotation around the center or by reflection about one of its axes of symmetry.

There are 8 different ways to arrange natural numbers from 1 to 9 in a 3x3 magic square:

  • 9+5+1
  • 9+4+2
  • 8+6+2
  • 8+5+2
  • 8+4+3
  • 7+6+2
  • 7+5+3
  • 6+5+4

In a 3x3 magic square, the magic constant 15 must be equal to the sum of three numbers in 8 directions: 3 rows, 3 columns and 2 diagonals. Since the number in the center belongs to 1 row, 1 column and 2 diagonals, it is included in 4 of the 8 triplets that add up to the magic constant. There is only one such number: it is 5. Therefore, the number in the center of the 3x3 magic square is already known: it is 5.

Consider the number 9. It is included in only 2 triplets of numbers. We cannot place it in a corner, since each corner cell belongs to 3 triplets: row, column and diagonal. Therefore, the number 9 must be in some cell adjacent to the side of the square in its middle. Because of the symmetry of the square, it does not matter which side we choose, so we write 9 above the number 5 in the central cell. On either side of the nine in the top line, we can only write the numbers 2 and 4. Which of these two numbers will be in the upper right corner and which in the left again does not matter, since one arrangement of numbers goes into another when mirrored . The remaining cells are filled in automatically. Our simple construction of a 3x3 magic square proves its uniqueness.

Such a magic square was a symbol of great significance among the ancient Chinese. The number 5 in the middle meant earth, and around it in strict balance were fire (2 and 7), water (1 and 6),

wood (3 and 8), metal (4 and 9).

As the size of the square (number of cells) increases, the number of possible magic squares of that size increases rapidly. There are 880 magic squares of order 4 and 275,305,224 magic squares of order 5. Moreover, 5x5 squares were known back in the Middle Ages. Muslims, for example, were very reverent about such a square with the number 1 in the middle, considering it a symbol of the unity of Allah.

Magic square of Pythagoras

The great scientist Pythagoras, who founded the religious and philosophical doctrine that proclaimed quantitative relations to be the basis of the essence of things, believed that the essence of man also lies in the number - the date of birth. Therefore, with the help of the magic square of Pythagoras, you can know the character of a person, the degree of health and his potential, reveal advantages and disadvantages and thereby identify what should be done to improve him.

In order to understand what the magic square of Pythagoras is and how its indicators are calculated, I will calculate it using my own example. And to make sure that the results of the calculation really correspond to the real character of a particular person, first I will check it on myself. To do this, I will do the calculation based on my date of birth. So, my date of birth is 08/20/1986. Let's add the numbers of the day, month and year of birth (excluding zeros): 2+8+1+9+8+6=34. Next we add up the numbers of the result: 3+4=7. Then from the first amount we subtract double the first digit of the birthday: 34-4=30. And again we add the digits of the last number:

3+0=3. It remains to make the last additions - 1st and 3rd and 2nd and 4th sums: 34+30=64, 7+3=10. We got the numbers 08/20/1986,34,7,30, 64,10.

and make a magic square so that all ones of these numbers go into cell 1, all twos into cell 2, etc. Zeros are not taken into account. As a result, my square will look like this:

The square cells mean the following:

Cell 1 - determination, will, perseverance, selfishness.

  • 1 - complete egoists, strive to extract the maximum benefit from any situation.
  • 11 - a character close to egoistic.
  • 111 - “golden mean”. The character is calm, flexible, and sociable.
  • 1111 - people of strong character, strong-willed. Men with such character are suitable for the role of military professionals, and women keep their family in their fist.
  • 11111 - dictator, tyrant.
  • 111111 - a cruel person, capable of doing the impossible; often falls under the influence of some idea.

Cell 2 - bioenergy, emotionality, sincerity, sensuality. The number of twos determines the level of bioenergy.

There are no twos - the channel is open for an intensive collection of bioenergy. These people are well-mannered and noble by nature.

  • 2 - people who are ordinary in bioenergetic terms. Such people are very sensitive to changes in the atmosphere.
  • 22 - a relatively large reserve of bioenergy. Such people make good doctors, nurses, and orderlies. In the family of such people, there is rarely anyone who experiences nervous stress.
  • 222 is the sign of a psychic.

Cell 3 - accuracy, specificity, organization, neatness, punctuality, cleanliness, stinginess, inclination to constant “restoration of justice.”

The increase of threes enhances all these qualities. With them, it makes sense for a person to look for himself in the sciences, especially the exact ones. The predominance of threes gives rise to pedants, people in a case.

Cell 4 - health. This is connected with the ecgregor, that is, the energy space developed by the ancestors and protecting a person. The absence of fours indicates that a person is sick.

  • 4 - average health, it is necessary to harden the body. Swimming and running are recommended sports.
  • 44 - good health.
  • 444 and more - people with very good health.

Cell 5 - intuition, clairvoyance, which begins to manifest itself in such people already at the level of three fives.

There are no fives - the communication channel with space is closed. These people often

are wrong.

  • 5 - communication channel is open. These people can correctly calculate the situation and make the most of it.
  • 55 - highly developed intuition. When they see “prophetic dreams,” they can predict the course of events. Suitable professions for them are lawyer, investigator.
  • 555 - almost clairvoyant.
  • 5555 - clairvoyants.

Cell 6 - groundedness, materiality, calculation, a penchant for quantitative exploration of the world and distrust of qualitative leaps, and even more so of spiritual miracles.

There are no sixes - these people need physical labor, although, as a rule, they do not like it. They are endowed with extraordinary imagination, fantasy, and artistic taste. Subtle natures, they are nevertheless capable of action.

  • 6 - can engage in creativity or exact sciences, but physical labor is a prerequisite for existence.
  • 66 - people are very grounded, drawn to physical labor, although it is not obligatory for them; Mental activity or artistic pursuits are desirable.
  • 666 is the sign of Satan, a special and ominous sign. These people have a high temperament, are charming, and invariably become the center of attention in society.
  • 6666 - these people in their previous incarnations gained too much grounding, they worked very hard and cannot imagine their life without work. If their square contains

Nines, they definitely need to engage in mental activity, develop their intellect, and at least get a higher education.

Cell 7 - the number of sevens determines the measure of talent.

  • 7 - the more they work, the more they get later.
  • 77 - very gifted, musical people, have a subtle artistic taste, and may have a penchant for fine arts.
  • 777 - these people, as a rule, come to Earth for a short time. They are kind, serene, and sensitive to any injustice. They are sensitive, like to dream, and do not always feel reality.
  • 7777 is the sign of an Angel. People with this sign die in infancy, and if they live, their lives are constantly in danger.

Cell 8 - karma, duty, obligation, responsibility. The number of eights determines the degree of sense of duty.

There are no Eights - these people have an almost complete lack of sense of duty.

  • 8 - responsible, conscientious, accurate natures.
  • 88 - these people have a developed sense of duty, they are always distinguished by the desire to help others, especially the weak, sick, and lonely.
  • 888 is a sign of great duty, a sign of service to the people. A ruler with three eights achieves outstanding results.
  • 8888 - these people have parapsychological abilities and exceptional sensitivity to the exact sciences. Supernatural paths are open to them.

Cell 9 - intelligence, wisdom. The absence of nines is evidence that mental abilities are extremely limited.

  • 9 - these people must work hard all their lives to make up for their lack of intelligence.
  • 99 - these people are smart from birth. They are always reluctant to learn, because knowledge comes easily to them. They are endowed with a sense of humor with an ironic tinge and are independent.
  • 999 - very smart. No effort is put into learning at all. Excellent conversationalists.
  • 9999 - the truth is revealed to these people. If they also have developed intuition, then they are guaranteed against failure in any of their endeavors. With all this, they are usually quite pleasant, since their sharp mind makes them rude, unmerciful and cruel.

So, having drawn up the magic square of Pythagoras and knowing the meaning of all combinations of numbers included in its cells, you will be able to sufficiently assess the qualities of your nature that Mother Nature has endowed.

Latin squares

Despite the fact that mathematicians were mainly interested in magic squares, Latin squares found the greatest application in science and technology.

A Latin square is a square of nxn cells in which the numbers 1, 2,..., n are written, and in such a way that all these numbers appear once in each row and each column. Figure 3 shows two such 4x4 squares. They have an interesting feature: if one square is superimposed on another, then all pairs of resulting numbers turn out to be different. Such pairs of Latin squares are called orthogonal.

The problem of finding orthogonal Latin squares was first posed by L. Euler, and in such an entertaining formulation: “Among the 36 officers there are an equal number of lancers, dragoons, hussars, cuirassiers, cavalry guards and grenadiers, and in addition an equal number of generals, colonels, majors, captains, lieutenants and second lieutenants, and Each branch of the military is represented by officers of all six ranks. Is it possible to line up all the officers in a 6 x 6 square so that in any column and any rank there are officers of all ranks?”

Euler was unable to find a solution to this problem. In 1901 it was proven that such a solution did not exist. At the same time, Euler proved that orthogonal pairs of Latin squares exist for all odd values ​​of n and for those even values ​​of n that are divisible by 4. Euler hypothesized that for the remaining values ​​of n, that is, if the number n when divided by 4 gives in remainder 2, there are no orthogonal squares. In 1901 it was proven that there are no orthogonal squares 6 6, and this increased confidence in the validity of Euler's hypothesis. However, in 1959, with the help of a computer, orthogonal squares 10x10, then 14x14, 18x18, 22x22 were first found. And then it was shown that for any n except 6, there are nxn orthogonal squares.

Magic and Latin squares are close relatives. Let us have two orthogonal squares. Let's fill the cells of a new square of the same dimensions as follows. Let's put there the number n(a - 1)+b, where a is the number in such a cell of the first square, and b is the number in the same cell of the second square. It is easy to understand that in the resulting square, the sums of numbers in the rows and columns (but not necessarily on the diagonals) will be the same.

The theory of Latin squares has found numerous applications both in mathematics itself and in its applications. Let's give an example. Suppose we want to test 4 varieties of wheat for yield in a given area, and we want to take into account the influence of the degree of sparseness of crops and the influence of two types of fertilizers. To do this, we will divide a square plot of land into 16 plots (Fig. 4). We will plant the first wheat variety in plots corresponding to the lower horizontal stripe, the next variety in four plots corresponding to the next stripe, etc. (in the figure, the variety is indicated by color). In this case, let the maximum density of crops be in those plots that correspond to the left vertical column of the figure, and decrease when moving to the right (in the figure this corresponds to a decrease in color intensity). Let the numbers in the cells of the picture mean:

the first is the number of kilograms of fertilizer of the first type applied to this area, and the second is the amount of fertilizer of the second type applied. It is easy to understand that in this case all possible pairs of combinations of both variety and sowing density and other components are realized: variety and fertilizers of the first type, fertilizers of the first and second types, density and fertilizers of the second type.

The use of orthogonal Latin squares helps to take into account all possible options in experiments in agriculture, physics, chemistry, and technology.

square magic pythagoras latin

Conclusion

This essay examines issues related to the history of the development of one of the questions in mathematics that has occupied the minds of many great people - magic squares. Despite the fact that magic squares themselves have not found wide application in science and technology, they inspired many extraordinary people to study mathematics and contributed to the development of other branches of mathematics (the theory of groups, determinants, matrices, etc.).

The closest relatives of magic squares, Latin squares, have found numerous applications both in mathematics and in its applications in setting up and processing the results of experiments. The abstract provides an example of setting up such an experiment.

The abstract also discusses the issue of the Pythagorean square, which is of historical interest and possibly useful for drawing up a psychological portrait of a person.

Bibliography

  • 1. Encyclopedic dictionary of a young mathematician. M., “Pedagogy”, 1989.
  • 2. M. Gardner “Time Travel”, M., “Mir”, 1990.
  • 3. Physical education and sports No. 10, 1998

MAGIC SQUARE, a square table of integers in which the sums of the numbers along any row, any column, and any of the two main diagonals equal the same number.

The magic square is of ancient Chinese origin. According to legend, during the reign of Emperor Yu (c. 2200 BC), a sacred turtle surfaced from the waters of the Yellow River (Yellow River), with mysterious hieroglyphs inscribed on its shell (Fig. 1, A), and these signs are known as lo-shu and are equivalent to the magic square shown in Fig. 1, b. In the 11th century They learned about magic squares in India, and then in Japan, where in the 16th century. Extensive literature has been devoted to magic squares. Europeans were introduced to magic squares in the 15th century. Byzantine writer E. Moschopoulos. The first square invented by a European is considered to be the square of A. Durer (Fig. 2), depicted in his famous engraving Melancholy 1. The date of creation of the engraving (1514) is indicated by the numbers in the two central cells of the bottom line. Various mystical properties were attributed to magic squares. In the 16th century Cornelius Heinrich Agrippa constructed squares of the 3rd, 4th, 5th, 6th, 7th, 8th and 9th orders, which were associated with the astrology of the 7 planets. It was believed that a magic square engraved on silver protected against the plague. Even today, among the attributes of European soothsayers you can see magic squares.

In the 19th and 20th centuries. interest in magic squares flared up with renewed vigor. They began to be studied using the methods of higher algebra and operational calculus.

Each element of a magic square is called a cell. A square whose side consists of n cells, contains n 2 cells and is called a square n-th order. Most magic squares use the first n consecutive natural numbers. Sum S numbers in each row, each column and on any diagonal is called the square constant and is equal to S = n(n 2 + 1)/2. It has been proven that nі 3. For a square of 3rd order S= 15, 4th order – S= 34, 5th order – S = 65.

The two diagonals passing through the center of the square are called the main diagonals. A broken line is a diagonal that, having reached the edge of the square, continues parallel to the first segment from the opposite edge (such a diagonal is formed by the shaded cells in Fig. 3). Cells that are symmetrical about the center of the square are called skew-symmetric. These are, for example, cells a And b in Fig. 3.

The rules for constructing magic squares are divided into three categories depending on whether the order of the square is odd, equal to twice an odd number, or equal to four times an odd number. A general method for constructing all squares is unknown, although various schemes are widely used, some of which we will consider below.

Magic squares of odd order can be constructed using the method of a 17th century French geometer. A. de la Lubera. Let's consider this method using the example of a 5th order square (Fig. 4). The number 1 is placed in the center cell of the top row. All natural numbers are arranged in a natural order cyclically from bottom to top in diagonal cells from right to left. Having reached the top edge of the square (as in the case of number 1), we continue to fill the diagonal starting from the bottom cell of the next column. Having reached the right edge of the square (number 3), we continue to fill the diagonal coming from the left cell in the line above. Having reached a filled cell (number 5) or a corner (number 15), the trajectory goes down one cell, after which the filling process continues.

The method of F. de la Hire (1640–1718) is based on two original squares. In Fig. Figure 5 shows how this method is used to construct a 5th order square. The numbers from 1 to 5 are entered into the cell of the first square so that the number 3 is repeated in the cells of the main diagonal going upward to the right, and not a single number appears twice in the same row or in the same column. We do the same with the numbers 0, 5, 10, 15, 20 with the only difference that the number 10 is now repeated in the cells of the main diagonal, going from top to bottom (Fig. 5, b). The cell-by-cell sum of these two squares (Fig. 5, V) forms a magic square. This method is also used to construct squares of even order.

If you know a way to construct squares of order m and order n, then we can construct a square of order mґ n. The essence of this method is shown in Fig. 6. Here m= 3 and n= 3. A larger square of the 3rd order (with numbers marked by primes) is constructed using the de la Loubert method. In the cell with the number 1ў (the central cell of the top row) fits a square of the 3rd order from the numbers from 1 to 9, also constructed by the de la Lubert method. In the cell with the number 2ў (right in the bottom line) fits a square of the 3rd order with numbers from 10 to 18; in the cell with the number 3ў - a square of numbers from 19 to 27, etc. As a result, we get a square of 9th order. Such squares are called composite.

This riddle quickly spread throughout the Internet. Thousands of people began to wonder how the magic square works. Today you will finally find the answer!

The mystery of the magic square

In fact, this riddle is quite simple and made with human inattention in mind. Let's see how the magic black square works using a real example:

  1. Let's guess any number from 10 to 19. Now let's subtract its constituent digits from this number. For example, let’s take 11. Subtract one from 11 and then another one. The result is 9. It doesn't really matter which number from 10 to 19 you take. The result of the calculations will always be 9. The number 9 in the “Magic Square” corresponds to the first number with pictures. If you look closely, you can see that a very large number of numbers are assigned the same pictures.
  2. What happens if you take a number in the range from 20 to 29? Maybe you already guessed it yourself? Right! The result of the calculation will always be 18. The number 18 corresponds to the second position on the diagonal with pictures.
  3. If you take a number from 30 to 39, then, as you can already guess, the number 27 will come out. The number 27 also corresponds to the number on the diagonal of the so inexplicable “Magic Square”.
  4. A similar algorithm remains true for any numbers from 40 to 49, from 50 to 59, and so on.

That is, it turns out that it doesn’t matter what number you guessed - “Magic Square” will guess the result, because in the cells numbered 9, 18, 27, 36, 45, 54, 63, 72 and 81 there is actually the same symbol .

In fact, this mystery can be easily explained using a simple equation:

  1. Imagine any two-digit number. Regardless of the number, it can be represented as x*10+y. Tens act as “x”, and units act as “y”.
  2. Subtract the numbers that make it up from the hidden number. Add the equation: (x*10+y)-(x+y)=9*x.
  3. The number that comes out as a result of the calculations must point to a specific symbol in the table.

It doesn’t matter what number is in the role of “x”, one way or another you will get a symbol whose number will be a multiple of nine. In order to make sure that there is one symbol under different numbers, just look at the table and at the numbers 0,9,18,27,45,54,63,72,81 and subsequent ones.