puzzle 1: neighboring square numbersknill/puzzles/examples/puzzle01.pdf · math puzzles,...

1
Math Puzzles, Activities, and Games in the classroom Hermany-Project, 2016 Puzzle 1: Neighboring square numbers Problem: Write down the numbers 1-16 in a row so that the sum of two arbitrary neighbors is a square number. Solution: The number 16 must be at an end. Only 9 can be a neighbor. Now everything is forced. We get a solution to a Hamiltonian path problem in a square graph 16, 9, 7, 2, 14, 11, 5, 4, 12, 13, 3, 6, 10, 15, 1, 8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Subject: Arithmetic, square numbers, graph theory Problem: Write down the numbers 1-32 in a circle so that the sum of two arbitrary neighbors is a square number. Solution: This asks for a Hamiltonian cycle in a graph. 32 appears is the smallest number for which one can solve the problem. To investigate this, we can for every n write down a graph with vertex set {1,...,n} such that (a, b) are an edge if a + b is a square. Lets call them the square number graphs G n . Now G 32 is the smallest of these graphs which is a Hamiltonian graph. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Source: Original question 1: Anna Beliakova, Uni Z¨ urich, und Dmitrij Nikolenkov, High school Trogen, They also ask for the cyclic problem with 16 numbers, where no solution exists.

Upload: phamkhuong

Post on 19-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Math Puzzles, Activities, and Games in the classroom Hermany-Project, 2016

Puzzle 1: Neighboring square numbers

Problem: Write down the numbers 1-16 in a row so that the sum of two arbitraryneighbors is a square number.

Solution: The number 16 must be at an end. Only 9 can be a neighbor. Noweverything is forced. We get a solution to a Hamiltonian path problem in a squaregraph 16, 9, 7, 2, 14, 11, 5, 4, 12, 13, 3, 6, 10, 15, 1, 8

12 345

6

7

8

9

10

11 12 1314 1516

Subject: Arithmetic, square numbers, graph theory

Problem: Write down the numbers 1-32 in a circle so that the sum of two arbitraryneighbors is a square number.

Solution: This asks for a Hamiltonian cycle in a graph. 32 appears is the smallestnumber for which one can solve the problem. To investigate this, we can for every nwrite down a graph with vertex set {1, . . . , n} such that (a, b) are an edge if a+ b isa square. Lets call them the square number graphs Gn. Now G32 is the smallestof these graphs which is a Hamiltonian graph.

1

23

4 5

6

7

8

9

10

11

12

13

1415

16

1718

19

20

21

22

23

24

25

26

27

28

29

30

3132

Source: Original question 1: Anna Beliakova, Uni Zurich, und Dmitrij Nikolenkov, Highschool Trogen, They also ask for the cyclic problem with 16 numbers, where no solution exists.

1