}

Magic Square

1987/04/01 Goñi, Jesus Mari Iturria: Elhuyar aldizkaria

In this issue we want to analyze the topic of witch paintings.

This time we want to analyze the topic of witch paintings. As is known, to make it a square of witches you have to meet the following conditions:

    be formed by different numbers.
  • that the sum of the numbers in all columns, rows and diagonals is the same.

For example

It seems that this topic of witch paintings is very old and seems to be an invention of Chinese mathematics. A. C. About 1000 years earlier this type of square was known in those Far Eastern territories.

But the years have passed, and as we are in the era of Informatics, what we have of propostas in this issue is to prepare a program that generates pictures of witches of different levels.

We have done so and we attach the following lines to you. However, this program only generates odd squares (3,5,7,9,11...). The reason is very simple: all squares at odd level are formed following the same rule, but this rule is not valid if the square level is even. To this topic, that is, the topic of squares with even level, we leave it for a later article.

Before explaining the program, final note: as it is possible that the smallest number of a witch square is any, we have chosen a random value of range 1-10. Therefore, the program will randomly create 10 different squares per level.

The highest level this program can generate is 49, since the variables are dimensioned to that value. If we want a higher level we should change this dimension.

3rd Course: Witch Square 3 x 3

Results

Security

Other

Security

Other

Description

Information

Services

Services

sum of rows, columns and diagonals = 24


5th year: Witch square 5 x 5

Other

24 hours

Services

Results

Description

Services

Security

Other

Documentation

Information

Services

Other

Services

Services

Services

Information

Services

Services

Services

Services

Security

News

Services

Security

Services

sum of rows, columns and diagonals = 70


7th year: Witch Square 7 x 7

News

Resources

Services

Security

Services

Services

Services

Security

Management

Other

Services

Security

24 hours

Services

Training

Other

Information

News

Services

Services

Other

Services

Services

Other

Services

Description

Other

50%

Results

Information

Description

Information

Services

Services

Services

Services

Other

Regulations

Services

Description

Security

Description

Services

Services

Services

Other

Services

Documentation

Services


9th year: Witch Square 9 x 9

Other

65%

More information

Other

Services

24 hours

Description

Services

Description

Information

Research

Regulations

Services

Services

Information

Regulations

Other

Other

Other

Other

Security

Services

Description

Services

Services

Library

Other

Other

News

Other

Other

Services

Management

Library

Other

Other

Information

Information

Services

Services

Training

Training

Other

Services

Regulations

Services

Services

Security

50%

Introduction

More information

80%

Regulations

Services

News

Other

Services

Services

Results

Other

Library

Results

Services

Other

Library

Services

Services

More information

Services

Description

Services

Services

Services

Library

Research

Information

Library

Documentation

Services

Services

Services

sum of rows, columns and diagonals = 441


Level 11: Witch Square 11 x 11

More information

Other

Information

Library

News

Description

24 hours

Regulations

Management

Introduction

Services

Regulations

Services

Results

More information

Documentation

Services

Services

Training

50%

Services

Information

Environment

News

News

Services

Services

Services

Resources

Services

Services

More information

Other

112

Description

Services

Description

Other

Security

Library

Research

Research

Other

100%

Description

Security

News

Services

Other

Services

65%

Other

Regulations

Site Map

Other

Security

Other

Services

Other

Library

Information

Other

Introduction

102

Description

Regulations

Information

News

Services

Other

Other

Services

Other

Services

Results

News

Other

Services

Services

Other

80%

Other

Library

Other

105

Other

Other

Services

Description

Library

Other

80%

Services

94%

More information

118

Information

Services

Services

Library

More information

Library

Services

Information

Memory

More information

Services

Services

Description

Other

Results

Other

Library

Services

108

120

Results

Services

Information

Services

Training

sum of rows, columns and diagonals = 726


MD1
























The red threat launched in the previous issue, which we did not give answers, has borne its first fruit, and although it is difficult for you to believe, you must know that we have received the first response from the proposed games. The news comes from Arrasate. José Ramón Zubizarreta has sent us a magnificent response to a proposed game. There you have the answer. Encourage you to send more answers.

"Dear:

Answer to the mathematical game proposed in the December magazine: We can think that the number is of figures A, B, C.

Number of 6 figures: ABCABC.

This number can be written as follows:

A x 10 5 + B x 10 4 + C x 10 3 + A x 10 2 + B x 10 + C (m.m.)
A x 10 2 (10 3 + 1) + B x 10 (10 3 +1) + C (10 3 + 1) (10 3 +1) (10 3 + 2 + B x
10 + C) 10 3 + 1 = 1001 = 7 x 11
x 11 x 13 x ABC = ABCABC

Receive a cordial greeting and even another."

Gai honi buruzko eduki gehiago

Elhuyarrek garatutako teknologia