Questions tagged [magic-square]

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

Filter by
Sorted by
Tagged with
3
votes
3answers
469 views

Magic cutting squares with given sum

You meet a guy on the road. The following conversation follows: He: Let's play a game. Give me any natural number from $3$ to $10$. I'll call this number the grid size You: Okay, $4$. (...
6
votes
4answers
27k views

How do I solve these 3x3 magic squares? [duplicate]

I'm doing 3x3 magic squares. Here are the squares I'm working on: | | 5 | | | | | | | 8 | | | The values must be between 3 and 12, and each line ...
7
votes
3answers
2k views

3x3 “Magic Square” of Prime Numbers — Part II

Glad to know the previous puzzle, which was the first puzzle I posted in Puzzling, was warmly welcomed (Thank you!), and an optimal solution was found. Inspired by the comments there, here is the ...
21
votes
6answers
7k views

3x3 “Magic Square” of Prime Numbers

During the thinking and analysis of some mathematical problems, I came up with this puzzle: Just like any magic square, one has to fill in $9$ different numbers $P_1, P_2, \dots P_9$ to a $3 \times 3$...
-2
votes
1answer
132 views

Not Regular This Time

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 ...
2
votes
1answer
250 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 ...
8
votes
1answer
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 ...
1
vote
2answers
297 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 ...
0
votes
2answers
308 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 ...
10
votes
5answers
4k 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 ...
5
votes
1answer
308 views

Magic Square with more Magic Squares inside it?

Is it possible to have an $n \times n$ magic square with a another magic square of $\frac n 4 \times \frac n 4$ magic square inside it? If so provide an example, if not prove if impossible. Rules: $...
12
votes
2answers
7k views

Magic Squares in Sudoku Grids

A 3x3 magic square is a 3x3 grid containing the numbers 1-9 once each, and in which every row, column, and diagonal sums to 15: 294 753 618 And I presume we all ...
1
vote
2answers
360 views

Magic Penteract!

(Don't worry, this is the last magic square themes question I'll be posting (as far as I know), so I picked a challenging one!) First off, let's define what a magic square is; A magic square is an ...
-5
votes
1answer
650 views

How Many Undefined Magic Constants are there?

Magic Square: An nxn square where every horizontal,vertical, and diagonal line all add up to the same number. Magic Constant: The number which every line with a magic square adds up to So most magic ...
9
votes
2answers
4k views

Does a magic rectangle exist?

My definition of a magic rectangle: Any $m \times n$ rectangle where $m \ne n$ and all the numbers $1, 2, 3,\dots, mn$ fit into the rectangle. All horizontal lines, vertical lines, and diagonal ...
3
votes
2answers
5k views

How to Determine a Magic Constant in a Magic Square?

A magic square consists of the numbers $1,2,\ldots,m^2$ placed into $m\times m$ square grid, so that every row, column, and both diagonals have the same sum. The magic constant of the square is this ...
8
votes
1answer
3k views

Can you fill a 3x3 grid with these numbers so the products of the rows and columns are the same?

Is it possible to form a $3\mbox{x}3$ grid containing the set of numbers: $${1,2,4,8,16,32,64,128,256}$$ in such a way that the product of the numbers in every row, column and diagonal are the same? ...
6
votes
3answers
509 views

Magic back yards

My back yard forms a rectangular grid of squares except some of the squares are missing as they are covered by pipes or a small tree. The layout is as follows. A 'x' indicates a square that is free ...
9
votes
4answers
445k views

Puzzle of putting numbers 1-9 in 3x3 Grid to add up to 15

In a 3x3 grid, I'd have to put numbers from 1 to 9 in a manner so that respective row, column and diagonal add up to 15. I have only been able to come up with one solution: $$\begin{array}{ccc} 6 &...
15
votes
1answer
3k views

Elegant solution to the Magic Hexagon problem

The Magic Hexagon Problem A magic hexagon of order $n$ is an arrangement of close-packed hexagons containing the numbers $1, 2, ..., H_{n-1}$, where $H_n$ is the $n^{th}$ hex number such that the ...
13
votes
2answers
1k views

What is the fewest number of filled-in squares required to uniquely define a magic square?

The magic square is a well-known grid of the numbers from 1 to 9 in which every row, column, and diagonal adds up to 15: 4 9 2 3 5 7 8 1 6 But it is also ...
15
votes
4answers
1k views

Magic square with the position of 8 fixed

A magic square (of order 3) is a 3x3 matrix consisting of distinct numbers from 1 to 9, where the numbers in each row, column and diagonal add up to 15. For example, the following would be a magic ...

1
2