How to solve the black magic square. !!!exposing the "magic" square

Brings good luck to People for whom He correctly guessed the Symbol, try it yourself!

Tell your relatives, friends and acquaintances about the Magic Black Square so that happiness and good luck will come to you and to them! It works, the main thing is to believe in it!

  1. Think of any two-digit number
  2. Subtract the constituent numbers from it (for example, from the number 54 you need to subtract 5 and 4, you get 45)
  3. Find this number in the table and magic symbol, to which it corresponds
  4. Mentally imagine this symbol
  5. Focus on this symbol for at least 3 seconds
  6. Click on big black square

How to use the Magic Black Square and its Luck for Yourself?

If the Magic Black Square correctly guessed your thoughts once, then He always maintains a mental connection with you and helps you in different situations Life and you will immediately feel it.

People who learn from you about the Magic Black Square will also share their Luck with you on a mental level and you will have more and more Luck.

How more people learn from you about the Magic Black Square and use Him, the more Happiness and Good Luck will come to you!

First, tell all your relatives, friends, acquaintances and loved ones about the Magic Black Square and how He guessed your Symbol.

It is very important! The more such people there are, the more Happiness and Good Luck will come to you because of your mental connection with the Magic Black Square! Leave it to people everywhere, on all forums, in comments, on walls, on boards and in chats...

The best way to do this is by mail - send your story and a link to the page with the Magic Black Square to your friends!

The more, the better and the more people! It's so simple! And you will immediately feel the result!

Scientists' opinions about the Magic Black Square.

Narrated by Gary Wambwell
Professor of the Department of Sensory Energy and Renewable Flows
Mossachusetts, West Virginia, USA

The phenomenon of the Magic Black Square effect is known modern science a long time ago. Although, unfortunately, it has not yet been fully studied. Our department and I personally have been studying the influence of the Magic Black Square on the energetic aspect of the fate of an individual person in various socio-cultural situations since April 1998. At first, these were separate experiments with the participation of random volunteers, without the proper material and technical base. In the process of working on the phenomenon of the Magic Black Square, our group was able to identify amazing patterns in the changes in the destinies of our experimental subjects after the Magic Black Square correctly guessed their thoughts. Well-being improved, illnesses receded and immunity was strengthened, significant changes for the better were observed in personal life, stable and favorable confident growth immediately began in business, leading to a progressive increase in the income of volunteers.

Naturally, having received such sensational results, we decided not to stop there and continued our research with the involvement of funds from third-party investors. Our investor set us a difficult task: to identify the so-called “limit of possibilities” of the Magic Black Square! That is, to document the onset of the moment when the amazing influence of the Magic Black Square on a person’s fate ends and what then happens to this person. He offered himself as a test subject, since he had already become convinced of the positive impact of the Magic Black Square on his destiny.

I have no right to disclose names and some details of this experiment, this is the requirement of our investor. I can only say that the experiment is still ongoing and so far there are no objective prerequisites for its completion!

At the time of the start of our experiment with the Magic Black Square, the subject was a novice entrepreneur and had a small company producing products software for computers. Within one year after the beginning of active interaction with the Magic Black Square, his business increased seventeen times and continued to grow. We couldn't predict possible consequences such unexpected success, we came up with a collective proposal to complete the experiment, but our investor and part-time test subject flatly refused at his own peril and risk.

Today his fortune is measured in billions of dollars and he is among the top thirty richest people planets. And all this, in his opinion, happened to him solely thanks to the Magic Black Square.

Therefore, answering your question, I can only say that if the Magic Black Square correctly guessed your symbol, then in order to achieve the maximum positive effect, you urgently need to tell as many people as possible about it and continue to do this, posting a link everywhere. Considering the positive dynamics of our long-term successful experiment, I can definitely say that you will be able to feel the beneficial influence of the Magic Black Square on your Destiny just a few days after your first interaction with It.

I would also like to add that at the moment there are simply no analogues to the Magic Black Square for its beneficial effect on a person’s destiny. Thank you.

Real facts from different people about the Magic Black Square in their Life.

Alexandra M. (Nikopol)

The first time the Magic Black Square appeared in my life was two years ago. I then broke my leg and was in the hospital, waiting for a serious, dangerous operation. My husband Arseny brought a laptop into the room and I accidentally ended up on the page of this site. I thought of a number and did everything right. And the Magic Black Square guessed my thoughts correctly!!! My husband said it was good luck. And the next day the doctor told me that I didn’t need surgery and that my leg suddenly began to heal very quickly! I told my roommates about this and they also told their fortunes on the Magic Black Square and soon they were all discharged.

Vladimir Vasilievich (Stavropol Territory)

My business partner Alexey told me about the Magic Black Square. He had problems in his family. The magical Black Square correctly guessed his symbol and very soon his problems disappeared by themselves. In addition, he began to notice that he began to have a lot of luck in life. He suddenly received an unexpected inheritance from a distant relative in Canada, and he profitably invested the money in business and earned even more. And all this thanks to the Magic Black Square! And I just had trouble in my life - my car was stolen. The police couldn’t do anything and I was already thinking about selling something, because I really need the car for my work, without it I’m like without hands. Alexey advised me to tell my fortune using the Magic Black Square and, lo and behold, He guessed my symbol correctly! You won’t believe it, but after 2 (!) hours the police called and said that my car had been found!!! Thanks to the Magic Black Square for your help and good luck!

Ostronosov M.Yu. (Customs Broker)

Last fall, my girlfriend left me for my former classmate Kirill. It was very painful and insulting to watch my friend and mine ex-girlfriend walk together and kiss in front of everyone. I couldn’t sleep or eat and didn’t know what to do. My older sister received a letter in the mail from her good friend, which contained a link to this page. She showed it to me and demanded that I guess the number. I did as she asked and the Magic Black Square correctly guessed my symbol!!! I didn’t attach any importance to it, but the next week I met an amazing girl in the supermarket and she immediately liked me too! Now we are dating and we have very serious plans for the future. Maybe we'll even get married! This is how the Magic Black Square helped me in difficult times! I sent a link to the square to all my friends and acquaintances, and even to Kirill too. May they all be happy!!! I do not mind )

Julia (Cambridge UK)

We lived in a small town in the north of the Arkhangelsk region in Russia. Dad worked in a company selling refrigeration equipment, and mom couldn’t find a job and was doing housework. I went to school in the eighth grade. One evening on a forum about growing flowers, I saw this link to a magic square and at first I didn’t believe that it could guess a person’s thoughts! I thought of a number and wrote down the symbol on a piece of paper so as not to forget. How surprised I was when the Magic Black Square correctly guessed my thoughts! I showed this to my dad and he said that he had never seen anything like this before and that it was probably some kind of trick. I had already forgotten about this adventure of mine, as one day at the end working week Dad came home from work and told Mom and me that his company was sending us for an internship in England for six months!!! For some reason, I immediately remembered the Magic Black Square and how He guessed my thoughts then. I told my dad about this and he told me that it was so! We moved to the UK as a family and now we live in the city of Cambridge and I study in a very good lyceum, I learned English without any problems and my dad was offered here permanent job and English citizenship for our whole family!!! Dad is still thinking, but I’m sure that thanks to the Magic Black Square, everything will be fine! Now I leave a link on all forums and chats so that Luck does not leave our family!

Similar tests:

Many people have at least heard about the magic square (MC). However, not everyone knows what it is, how to solve it and how it works. Do you want answers to these questions? Read this article!

A magic square is a special square table in which an integer is written in each cell. The sum of the numbers in such a table along any of the rows, columns and diagonals will be equal to a specific column. Let's say we have a square:

To verify its “magic” properties, you need to find the sums of 3 numbers vertically, horizontally and diagonally:

You can see that no matter how we add it, we will still get the number “15”. This means that this square is magic. Surely many of you have thought in your head: “What is the secret? How does the magic square work? I will try to answer this question.

Many people believe that the properties of VC are due to some kind of magic, miracles, mystical powers. But I have to immediately disappoint such people. There is no magic in this phenomenon. Everything is built on the basis of a special equation.

Magic constant

As a rule, before creating a VC, it is necessary to calculate the so-called “magic constant” (MC). The magic constant is the number that we will get when summing the numbers of the square. You can calculate MK using a fairly simple equation:
MK = (n*(n 2 + 1)): 2

According to the terms of the equation, n is a number indicating the number of rows or columns in a square table. For clarity, using this equation, we will calculate the MK for a 3x3 square table (you could see this square above).

  • MK = (3*(3 2 + 1)): 2
  • MK = (3*(9 + 1)): 2
  • MK = (3*10):2
  • MK = 30:2
  • MK = 15

It is worth noting that there are incomplete magic squares (semi-magic). This is the name for VC that has lost some of its “magical” properties. For example, if the sum of numbers along the diagonal is not equal to a constant, then such a square will be called semi-magic.

Once you have calculated the constant using the equation, you can begin constructing the square. To make a VC, you must be guided by a clear sequence of actions.

If the number goes beyond right side square table, write this number in the furthest cell of the corresponding row.

  • Second exception

If the number goes beyond the top line of the square table, write this number in the lowest cell of the corresponding column.

  • Third exception

If the number falls into an occupied cell, write it under the previous number written down.

Looking at the picture, you can see that according to the principle of “one row up, one column right”, we should place the number “4” in the center of the top column. But we cannot do this, because the cell is already occupied by the number “1”. Therefore, using the "third exception", we put a "4" under the previous number recorded ("3").

Bottom line.

We looked at the basics and basics of creating a VK and analyzed the construction process using the example of the simplest 3x3 square. You can create squares more complex and larger. The main thing to remember is that all VCs are created according to similar principles.

There are a huge number of VKs in the world. Over thousands of years, ancient sages, philosophers and mathematicians created new varieties of squares (the square of Yang Hui, Khajuraho, Albrecht Durer, Henry Dudeney and Allan Johnson Jr., etc.). It is noteworthy that they are all developed using the same equation, which was described in this article.

Varieties of VC include incomplete magic squares.

The first VC (called the Lo Shu square) was noticed in 2200 BC. e. V Ancient China. The square was drawn on a turtle shell. The ancient sages considered the VC a model of space and hoped that with the help of a magic square it was possible to solve problems on a universal scale. But as far as we know, in fact there is no miracle in this, everything was done using a special equation.

However, despite this, Lo Shu is used in numerology to this day. The numbers indicating a person’s date of birth are located in the cells of a square table. The numbers are then deciphered based on location and meaning.

Lo Shu is actively used in the practice of Feng Shui. With its help, the most favorable zones are determined depending on a specific period of time.

VK is also used as a puzzle. Surely you have often come across such a puzzle while reading a newspaper, but you simply did not focus on it. The magic square is somewhat reminiscent of the popular Japanese game Sudoku. VK is one of the most ancient, old puzzles in the world. Sometimes disputes flare up between scientists over what appeared first - Sudoku or VK. Solving magic squares, like other puzzles, is useful for stimulating brain activity. Using the above equation, you can create your own puzzle.

Video about how the magic square works

In ancient times, great scientists considered numbers to be the basis of the essence of the world. Magic square, the secret of which is that the sum of the numbers in the resulting square in each horizontal, each vertical, and each diagonal is the same, carries this essence.

But full description Magic squares do not exist to this day.

The magic square of Pythagoras, “attracting” the energy of wealth, was compiled by the founder
The great scientist, who founded the religious and philosophical doctrine and proclaimed quantitative relations to be the basis of things, believed that the date of birth of a person lies his essence.

Knowing how the magic square works, you can not only find out a person’s character traits, his state of health, his intellectual and creative possibilities, but also to draw up a program for its improvement and development. Numbers that are written in a square in a special way attract not only wealth, but also the necessary energy flows for a person. For example, Paracelsus depicted his square as a talisman of health. The numbers form three rows, that is, there are nine numbers in total in the square. To determine your numerology code, you need to calculate these nine numbers.

How does the magic square work?

The first horizontal row of the square is formed by numbers: the day, month and year of a person’s birth. For example, a person’s date of birth corresponds to 08/09/1971. Then the first number in the square will be 9, which is written in the first cell. The second number is the day of the month, that is, 8.

It is worth paying attention that if a person’s month of birth corresponds to December, that is, the number 12, then it, therefore, needs to be converted using addition into the simple number 3. The third digit corresponds to the number of the year. To do this, 1971 must be broken down into its component numbers and their total sum equal to 18 and then simplified to 1+8=9. Fill the upper horizontal field of the square with the resulting numbers: 9,8,9.

In the second row of the square, numbers are written that correspond to the person’s first name, patronymic and last name according to numerology. Each letter has its own digital value. The numbers can be obtained from the table of correspondence between letters and numbers in numerology. Next, you need to sum up the numbers of the first name, middle name and last name and bring them to simple values.

We fill the second row of the square with the resulting numbers. The fourth number corresponds to the first name, the fifth to the patronymic, and the sixth to the last name. Now we have the second line of the energy square.

A further principle of how the magic square works is based on astrology.

The seventh digit corresponds to the number of a person's zodiac sign. Aries is the first sign under the number 1, and then in order up to the sign of Pisces - 12. When filling out the third row of the square double figures they should not be reduced to simple ones; they all have their own meaning.

The eighth digit is the number of the sign. That is, in our version, 1971 is the year of the Pig.

The ninth digit represents the numerological code of a person's desire. For example, a person strives to have excellent health, therefore, you need to find the numbers corresponding to the letters in this word. The resulting sum is 49, which is then simplified by adding to 4. Numbers from 10 to 12, as in the case of a person’s zodiac sign, do not need to be reduced. Now that you know how a magic square works, you can easily compose it and carry it with you as a talisman or frame it as a painting and hang it at home.

There are several different classifications of magic squares

fifth order, designed to somehow systematize them. In the book

Martin Gardner [GM90, pp. 244-345] describes one of these methods -

by the number in the central square. The method is interesting, but nothing more.

How many sixth-order squares there are is still unknown, but there are approximately 1.77 x 1019. The number is huge, so there is no hope of counting them using exhaustive search, and no one could come up with a formula for calculating magic squares.

How to make a magic square?

There are many ways to construct magic squares. The easiest way to make magic squares odd order. We will use the method proposed by a French scientist of the 17th century A. de la Loubère. It is based on five rules, the action of which we will consider on the simplest magic square of 3 x 3 cells.

Rule 1. Place 1 in the middle column of the first line (Fig. 5.7).

Rice. 5.7. First number

Rule 2. Place the next number, if possible, in the cell adjacent to the current one diagonally to the right and above (Fig. 5.8).

Rice. 5.8. We are trying to put the second number

Rule 3. If the new cell goes beyond the square at the top, then write the number in the lowest line and in the next column (Fig. 5.9).

Rice. 5.9. Put the second number

Rule 4. If the cell goes beyond the square on the right, then write the number in the very first column and in the previous line (Fig. 5.10).

Rice. 5.10. We put the third number

Rule 5. If the cell is already occupied, then write the next number under the current cell (Fig. 5.11).

Rice. 5.11. We put the fourth number

Rice. 5.12. We put the fifth and sixth numbers

Follow Rules 3, 4, 5 again until you have completed the entire square (Fig.

Isn’t it true, the rules are very simple and clear, but it’s still quite tedious to arrange even 9 numbers. However, knowing the algorithm for constructing magic squares, we can easily delegate all the routine work to the computer, leaving ourselves only the creative work, that is, writing the program.

Rice. 5.13. Fill the square with the following numbers

Project Magic Squares (Magic)

A set of fields for the program Magic squares quite obvious:

// PROGRAM FOR GENERATION

// ODD MAGIC SQUARE

// BY DE LA LUBERA METHOD

public partial class Form1 : Form

//Max. square dimensions: const int MAX_SIZE = 27; //var

int n=0; // square orderint [,] mq; // magic square

int number=0; // current number to write in square

int col=0; // current columnint row=0; // current line

De la Lubert's method is suitable for making odd squares of any size, so we can give the user the opportunity to independently choose the order of the square, while wisely limiting the freedom of choice to 27 cells.

After the user presses the coveted btnGen button Generate! , the btnGen_Click method creates an array to store numbers and passes to the generate method:

//CLICK THE "GENERATE" BUTTON

private void btnGen_Click(object sender,EventArgs e)

//order of the square:

n = (int )udNum.Value;

//create an array:

mq = new int ;

//generate a magic square: generate();

lstRes.TopIndex = lstRes.Items.Count-27;

Here we begin to act according to de la Lubert's rules and write the first number - one - in the middle cell of the first row of the square (or array, if you like):

//Generate a magic square void generate())(

//first number: number=1;

//column for the first number is the middle one: col = n / 2 + 1;

//line for the first number - first: row=1;

//put it in a square: mq= number;

Now we sequentially arrange the remaining numbers in the cells - from two to n * n:

//go to next date:

Just in case, remember the coordinates of the current cell

int tc=col;int tr = row;

and move to the next cell diagonally:

Let's check the implementation of the third rule:

if (row< 1) row= n;

And then the fourth:

if (col > n) ( col=1;

goto rule3;

And fifth:

if (mq != 0) ( col=tc;

row=tr+1; goto rule3;

How do we know that a square cell already contains a number? – It’s very simple: we prudently wrote zeros in all the cells, and the numbers in the finished square are greater than zero. This means that by the value of the array element we will immediately determine whether the cell is empty or already contains a number! Please note that here we will need those cell coordinates that we remembered before searching for the cell for the next number.

Sooner or later we will find a suitable cell for the number and write it into the corresponding cell of the array:

//put it in a square: mq = number;

Try a different way to check the admissibility of a transition to a new one.

wow cell!

If this number was the last, then the program has fulfilled its duties, otherwise it voluntarily moves on to providing the cell with the next number:

//if not all numbers are set, then if (number< n*n)

//go to the next number: goto nextNumber;

And now the square is ready! We calculate its magic sum and print it on the screen:

//construction of the square is completed: writeMQ();

) //generate()

Printing the elements of an array is very simple, but it is important to take into account the alignment of numbers of different “lengths”, because a square can contain one-, two- and three-digit numbers:

//Print the magic square void writeMQ()

lstRes.ForeColor = Color.Black;

string s = "Magic amount = " + (n*n*n +n)/2; lstRes.Items.Add(s);

lstRes.Items.Add("" );

// print the magic square: for (int i= 1; i<= n; ++i){

s="" ;

for (int j= 1; j<= n; ++j){

if (n*n > 10 && mq< 10) s +=" " ;if (n*n >100 && mq< 100) s +=" " ; s= s + mq +" " ;

lstRes.Items.Add(s);

lstRes.Items.Add("" ); )//writeMQ()

We launch the program - the squares are obtained quickly and are a feast for the eyes (Fig.

Rice. 5.14. Quite a square!

In the book by S. Goodman, S. Hidetniemi Introduction to algorithm development and analysis

mov, on pages 297-299 we will find the same algorithm, but in an “abbreviated” presentation. It's not as transparent as our version, but it works correctly.

Let's add a button btnGen2 Generate 2! and write the algorithm in the language

C-sharp into the methodOld algorithm in a new guise