The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [magic-square]

A puzzle related to magic squares: grids of integers where all rows, columns, and diagonals have the same sum.

67 questions
Filter by
Sorted by
Tagged with
204 views

### Create a 4-by-4 regular square

We can say that an $n$-by-$n$ square is regular provided that: Each of the integers from $0$ to $n^2 − 1$ appears in exactly one cell, and each cell contains only one integer (so that the square is ...
2k views

### 9-by-9 filled, magic square

Construct a 9-by-9 filled, magic square using the integers from 0 to 80. The magic square should additionally have the property that when it is divided into ninths according to the picture below, each ...
282 views

### Warped magic squares

A $3\times3$ grid contains altogether six squares that are formed by its nine entries: there are five squares whose sides are parallel to the sides of the grid (four small ones and a big one), and ...
285 views

### Magic Matrices?

Can you determine any number of magic squares, that when treated as matrices, can be applied mathematical operations to return a new magic-matrix? You cannot use the same matrix twice! The answer ...
3k views

### The Quite Unusual Square

Imagine an $n \times n$ grid filled with the numbers 1, ..., $n$ where $n$ > 3 each number appearing n times, where each row, column, and diagonal all equal the same number. Can you fill grid like ...
297 views