Analysis:
Magic squares generally refer to magic squares of odd order.
The Rubik's cube is an N * N square.
Add numbers to each row and column of a square and follow the following rules:
1. The number added must be an integer between 1 and N*N;
2. Each number can only be filled in once, and omission or repetition is not allowed;
3. The sum of the numbers in each row, column and diagonal of a square must be equal.
Mathematicians have proved that every magic square of odd order must have a solution.