What is the Nine Palace Numbers?
Jiugongge numbers, also known as Jiugongge numbers or Numerical Jiugongge, are a number arrangement based on a 3×3 square matrix, often associated with mathematical games, puzzles, and the "Luo Shu" in traditional culture. It is not only a classic problem in the field of mathematics, but also one of the hottest topics on social media in recent years. This article will combine the hot content of the past 10 days on the Internet to provide you with a detailed analysis of the concept, application and related data of the Nine Palace Numbers.
1. The Origin and Definition of Nine Palace Numbers

The Nine Palace Numbers can be traced back to the "Luoshu" in ancient China. It is said that Dayu found the patterns on the backs of divine turtles when he was controlling floods. Its core is a 3×3 square matrix filled with numbers from 1 to 9 so that the sum of the numbers in each row, column and diagonal is equal. This arrangement is called "Rubik's Square” or “magic square".
Here is a classic example of a nine house number:
| 2 | 7 | 6 |
| 9 | 5 | 1 |
| 4 | 3 | 8 |
It can be verified that the sum of each row, column and diagonal is 15.
2. Mathematical Characteristics of Nine Palace Numbers
The Nine Palace Numbers have the following mathematical properties:
| Features | Description |
|---|---|
| uniqueness | There are only 8 basic arrangements of numbers 1 to 9 in a 3×3 square matrix (obtained through rotation and mirror symmetry). |
| center fixed | The number 5 must be in the center to satisfy the magic square condition. |
| corner rules | Even numbers must be on the four corners and odd numbers on the middle side. |
3. Application of Nine Palace Numbers in Modern Times
In recent years, Nine Palace Numbers have become a hot topic on social media and games because of their fun and challenging nature. The following is the relevant content that has been hotly discussed across the Internet in the past 10 days:
| platform | Hot content |
|---|---|
| Douyin | The video "Nine Palace Number Quick Solution" has been viewed more than 5 million times. |
| The topic #九公格challenge has been read 120 million times. | |
| Zhihu | "How to use programming to generate Jiugong numbers?" is one of the top 10 most popular questions. |
4. Expanded gameplay of the Nine Palace Numbers
In addition to the traditional magic square, Nine Palace Numbers also derives a variety of ways to play:
1.Digital Huarong Road: Restore the nine-square grid by sliding the number blocks.
2.Sudoku Nine Palaces: Combine digital logic with Jiugongge.
3.Nine palace password:Use nine-square grid design graphics to unlock or memorize.
5. Summary
Nine Palace Numbers is a combination of mathematics and culture. It has a profound historical background and is revitalized by modern forms of entertainment. Whether as an intellectual game or a research topic, it continues to attract the attention of enthusiasts around the world.
check the details
check the details