Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Problems 05-05-21 #107

Merged
merged 57 commits into from
May 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
bfc726e
Merge pull request #1 from supportingami/master
dankelly01 Feb 15, 2021
5bd84d2
Create minimax
dankelly01 Feb 26, 2021
a2ad122
Create minimax.md
dankelly01 Feb 26, 2021
79d3690
Rename minimax to minimax.md
dankelly01 Feb 26, 2021
ce8470c
Add files via upload
dankelly01 Feb 26, 2021
f83b4df
Add files via upload
dankelly01 Feb 26, 2021
bca1490
Create colouring-maps.md
dankelly01 Feb 26, 2021
0555b95
Create colouring-maps.md
dankelly01 Feb 26, 2021
1e64a4b
Add files via upload
dankelly01 Feb 26, 2021
1b4a427
Add files via upload
dankelly01 Feb 26, 2021
5474c6f
Update minimax.md
dankelly01 Mar 10, 2021
5d22fb6
Merge pull request #2 from supportingami/master
dankelly01 Mar 10, 2021
c0f8c24
Update colouring-maps.md
dankelly01 Mar 10, 2021
682417e
Update colouring-maps.md
dankelly01 Mar 10, 2021
d295add
Delete colouring-maps-1.png
dankelly01 Mar 10, 2021
e655a0b
Delete colouring-maps-2.png
dankelly01 Mar 10, 2021
ed10224
Delete colouring-maps-3.png
dankelly01 Mar 10, 2021
67954ab
Delete colouring-maps-4.png
dankelly01 Mar 10, 2021
dcd7d1a
Delete colouring-maps-5.png
dankelly01 Mar 10, 2021
5a18f6d
Delete colouring-maps-6.png
dankelly01 Mar 10, 2021
895fe0d
Delete colouring-maps-7.png
dankelly01 Mar 10, 2021
c3b9d0d
Delete colouring-maps-8.png
dankelly01 Mar 10, 2021
1f4974c
Delete colouring-maps-9.png
dankelly01 Mar 10, 2021
eefb64a
Add files via upload
dankelly01 Mar 10, 2021
3d60e6a
Update colouring-maps.md
dankelly01 Mar 10, 2021
6a9ff3f
Update colouring-maps.md
dankelly01 Mar 10, 2021
70fa09a
Update colouring-maps.md
dankelly01 Mar 10, 2021
8cc8679
Update minimax.md
dankelly01 Mar 10, 2021
26e4fdb
Update colouring-maps.md
dankelly01 Mar 10, 2021
eb5bcf6
Update minimax.md
dankelly01 Mar 10, 2021
61bcff4
Create bulgarian-solitaire.md
dankelly01 May 5, 2021
a168f05
Create bulgarian-solitaire.md
dankelly01 May 5, 2021
7521163
Add files via upload
dankelly01 May 5, 2021
99412dc
Add files via upload
dankelly01 May 5, 2021
4c83beb
Create where-on-earth.md
dankelly01 May 5, 2021
caf13a7
Create sdt-riddles.md
dankelly01 May 5, 2021
c552328
Create where-on-earth.md
dankelly01 May 5, 2021
f5bc116
Create sdt-riddlds.md
dankelly01 May 5, 2021
d5f9893
Add files via upload
dankelly01 May 5, 2021
3806eb1
Add files via upload
dankelly01 May 5, 2021
9e00dfc
Update bulgarian-solitaire.md
dankelly01 May 5, 2021
1248f86
Rename sdt-riddlds.md to sdt-riddles.md
dankelly01 May 5, 2021
32a4af6
Update sdt-riddles.md
dankelly01 May 5, 2021
e3b3777
Update sdt-riddles.md
dankelly01 May 5, 2021
9c937d1
Update where-on-earth.md
dankelly01 May 5, 2021
b93d784
Update sdt-riddles.md
dankelly01 May 5, 2021
c4692d0
Update where-on-earth.md
dankelly01 May 5, 2021
80ab366
Update bulgarian-solitaire.md
dankelly01 May 5, 2021
0b1a984
Update colouring-maps.md
dankelly01 May 5, 2021
00c96a2
Update minimax.md
dankelly01 May 5, 2021
e6304a8
Update sdt-riddles.md
dankelly01 May 5, 2021
4ce7073
Update where-on-earth.md
dankelly01 May 5, 2021
87d1c7f
add generated translations
chrismclarke May 8, 2021
2822ece
update weekly problems
chrismclarke May 8, 2021
8d8e2c0
update latest translations
chrismclarke May 8, 2021
5c615cf
update weekly problems
chrismclarke May 8, 2021
2f07132
weekly problem update
chrismclarke May 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
290 changes: 145 additions & 145 deletions maths-club-app/src/app/data/weeklyProblems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,149 +54,149 @@ export const WEEKLY_PROBLEMS = {
"2021-08-29": "konigsberg-bridges",
"2021-09-05": "kaprekars-number",
"2021-09-12": "diffy-squares",
"2021-09-19": "pell-numbers",
"2021-09-26": "paths",
"2021-10-03": "number-challenge-1",
"2021-10-10": "making-squares",
"2021-10-17": "logic-puzzles-1",
"2021-10-24": "iq-challenge-1",
"2021-10-31": "find-the-path",
"2021-11-07": "counting-squares",
"2021-11-14": "buffons-needle",
"2021-11-21": "balls-and-books",
"2021-11-28": "addition-squares",
"2021-12-05": "adding-to-15",
"2021-12-12": "9-dots",
"2021-12-19": "treasure-hunt",
"2021-12-26": "russian-multiplication",
"2022-01-02": "river-crossing",
"2022-01-09": "poisoned-wine-puzzle",
"2022-01-16": "matchstick-puzzles",
"2022-01-23": "magic-cards",
"2022-01-30": "langfords-problem",
"2022-02-06": "handshake-puzzles",
"2022-02-13": "geometry-puzzle-1",
"2022-02-20": "gabriels-problem",
"2022-02-27": "fence-around-a-field",
"2022-03-06": "domino-tilings",
"2022-03-13": "collatz-conjecture",
"2022-03-20": "coin-game",
"2022-03-27": "coconut-trader",
"2022-04-03": "circumference",
"2022-04-10": "apple-teaser",
"2022-04-17": "two-eggs",
"2022-04-24": "special-numbers",
"2022-05-01": "scales-and-weights",
"2022-05-08": "picture-puzzles-1",
"2022-05-15": "monkey-business",
"2022-05-22": "locks-and-keys",
"2022-05-29": "frog-party",
"2022-06-05": "counting-chickens",
"2022-06-12": "tic-tac-toe",
"2022-06-19": "tic-tac-toe-with-levels",
"2022-06-26": "tangrams",
"2022-07-03": "secret-santa",
"2022-07-10": "patience",
"2022-07-17": "paper-pieces",
"2022-07-24": "nim-related-games",
"2022-07-31": "nim-21",
"2022-08-07": "mastermind",
"2022-08-14": "make-many",
"2022-08-21": "letter-matching",
"2022-08-28": "countdown",
"2022-09-04": "15-game",
"2022-09-11": "tetris-shapes",
"2022-09-18": "konigsberg-bridges",
"2022-09-25": "kaprekars-number",
"2022-10-02": "diffy-squares",
"2022-10-09": "pell-numbers",
"2022-10-16": "paths",
"2022-10-23": "number-challenge-1",
"2022-10-30": "making-squares",
"2022-11-06": "logic-puzzles-1",
"2022-11-13": "iq-challenge-1",
"2022-11-20": "find-the-path",
"2022-11-27": "counting-squares",
"2022-12-04": "buffons-needle",
"2022-12-11": "balls-and-books",
"2022-12-18": "addition-squares",
"2022-12-25": "adding-to-15",
"2023-01-01": "9-dots",
"2023-01-08": "treasure-hunt",
"2023-01-15": "russian-multiplication",
"2023-01-22": "river-crossing",
"2023-01-29": "poisoned-wine-puzzle",
"2023-02-05": "matchstick-puzzles",
"2023-02-12": "magic-cards",
"2023-02-19": "langfords-problem",
"2023-02-26": "handshake-puzzles",
"2023-03-05": "geometry-puzzle-1",
"2023-03-12": "gabriels-problem",
"2023-03-19": "fence-around-a-field",
"2023-03-26": "domino-tilings",
"2023-04-02": "collatz-conjecture",
"2023-04-09": "coin-game",
"2023-04-16": "coconut-trader",
"2023-04-23": "circumference",
"2023-04-30": "apple-teaser",
"2023-05-07": "two-eggs",
"2023-05-14": "special-numbers",
"2023-05-21": "scales-and-weights",
"2023-05-28": "picture-puzzles-1",
"2023-06-04": "monkey-business",
"2023-06-11": "locks-and-keys",
"2023-06-18": "frog-party",
"2023-06-25": "counting-chickens",
"2023-07-02": "tic-tac-toe",
"2023-07-09": "tic-tac-toe-with-levels",
"2023-07-16": "tangrams",
"2023-07-23": "secret-santa",
"2023-07-30": "patience",
"2023-08-06": "paper-pieces",
"2023-08-13": "nim-related-games",
"2023-08-20": "nim-21",
"2023-08-27": "mastermind",
"2023-09-03": "make-many",
"2023-09-10": "letter-matching",
"2023-09-17": "countdown",
"2023-09-24": "15-game",
"2023-10-01": "tetris-shapes",
"2023-10-08": "konigsberg-bridges",
"2023-10-15": "kaprekars-number",
"2023-10-22": "diffy-squares",
"2023-10-29": "pell-numbers",
"2023-11-05": "paths",
"2023-11-12": "number-challenge-1",
"2023-11-19": "making-squares",
"2023-11-26": "logic-puzzles-1",
"2023-12-03": "iq-challenge-1",
"2023-12-10": "find-the-path",
"2023-12-17": "counting-squares",
"2023-12-24": "buffons-needle",
"2023-12-31": "balls-and-books",
"2024-01-07": "addition-squares",
"2024-01-14": "adding-to-15",
"2024-01-21": "9-dots",
"2024-01-28": "treasure-hunt",
"2024-02-04": "russian-multiplication",
"2024-02-11": "river-crossing",
"2024-02-18": "poisoned-wine-puzzle",
"2024-02-25": "matchstick-puzzles",
"2024-03-03": "magic-cards",
"2024-03-10": "langfords-problem",
"2024-03-17": "handshake-puzzles",
"2024-03-24": "geometry-puzzle-1",
"2024-03-31": "gabriels-problem",
"2024-04-07": "fence-around-a-field",
"2024-04-14": "domino-tilings",
"2024-04-21": "collatz-conjecture",
"2024-04-28": "coin-game",
"2024-05-05": "coconut-trader",
"2024-05-12": "circumference",
"2024-05-19": "apple-teaser",
"2024-05-26": "two-eggs",
"2024-06-02": "special-numbers",
"2024-06-09": "scales-and-weights",
"2024-06-16": "picture-puzzles-1",
"2024-06-23": "monkey-business"
"2021-09-19": "where-on-earth",
"2021-09-26": "sdt-riddles",
"2021-10-03": "minimax",
"2021-10-10": "colouring-maps",
"2021-10-17": "bulgarian-solitaire",
"2021-10-24": "pell-numbers",
"2021-10-31": "paths",
"2021-11-07": "number-challenge-1",
"2021-11-14": "making-squares",
"2021-11-21": "logic-puzzles-1",
"2021-11-28": "iq-challenge-1",
"2021-12-05": "find-the-path",
"2021-12-12": "counting-squares",
"2021-12-19": "buffons-needle",
"2021-12-26": "balls-and-books",
"2022-01-02": "addition-squares",
"2022-01-09": "adding-to-15",
"2022-01-16": "9-dots",
"2022-01-23": "treasure-hunt",
"2022-01-30": "russian-multiplication",
"2022-02-06": "river-crossing",
"2022-02-13": "poisoned-wine-puzzle",
"2022-02-20": "matchstick-puzzles",
"2022-02-27": "magic-cards",
"2022-03-06": "langfords-problem",
"2022-03-13": "handshake-puzzles",
"2022-03-20": "geometry-puzzle-1",
"2022-03-27": "gabriels-problem",
"2022-04-03": "fence-around-a-field",
"2022-04-10": "domino-tilings",
"2022-04-17": "collatz-conjecture",
"2022-04-24": "coin-game",
"2022-05-01": "coconut-trader",
"2022-05-08": "circumference",
"2022-05-15": "apple-teaser",
"2022-05-22": "two-eggs",
"2022-05-29": "special-numbers",
"2022-06-05": "scales-and-weights",
"2022-06-12": "picture-puzzles-1",
"2022-06-19": "monkey-business",
"2022-06-26": "locks-and-keys",
"2022-07-03": "frog-party",
"2022-07-10": "counting-chickens",
"2022-07-17": "tic-tac-toe",
"2022-07-24": "tic-tac-toe-with-levels",
"2022-07-31": "tangrams",
"2022-08-07": "secret-santa",
"2022-08-14": "patience",
"2022-08-21": "paper-pieces",
"2022-08-28": "nim-related-games",
"2022-09-04": "nim-21",
"2022-09-11": "mastermind",
"2022-09-18": "make-many",
"2022-09-25": "letter-matching",
"2022-10-02": "countdown",
"2022-10-09": "15-game",
"2022-10-16": "tetris-shapes",
"2022-10-23": "konigsberg-bridges",
"2022-10-30": "kaprekars-number",
"2022-11-06": "diffy-squares",
"2022-11-13": "where-on-earth",
"2022-11-20": "sdt-riddles",
"2022-11-27": "minimax",
"2022-12-04": "colouring-maps",
"2022-12-11": "bulgarian-solitaire",
"2022-12-18": "pell-numbers",
"2022-12-25": "paths",
"2023-01-01": "number-challenge-1",
"2023-01-08": "making-squares",
"2023-01-15": "logic-puzzles-1",
"2023-01-22": "iq-challenge-1",
"2023-01-29": "find-the-path",
"2023-02-05": "counting-squares",
"2023-02-12": "buffons-needle",
"2023-02-19": "balls-and-books",
"2023-02-26": "addition-squares",
"2023-03-05": "adding-to-15",
"2023-03-12": "9-dots",
"2023-03-19": "treasure-hunt",
"2023-03-26": "russian-multiplication",
"2023-04-02": "river-crossing",
"2023-04-09": "poisoned-wine-puzzle",
"2023-04-16": "matchstick-puzzles",
"2023-04-23": "magic-cards",
"2023-04-30": "langfords-problem",
"2023-05-07": "handshake-puzzles",
"2023-05-14": "geometry-puzzle-1",
"2023-05-21": "gabriels-problem",
"2023-05-28": "fence-around-a-field",
"2023-06-04": "domino-tilings",
"2023-06-11": "collatz-conjecture",
"2023-06-18": "coin-game",
"2023-06-25": "coconut-trader",
"2023-07-02": "circumference",
"2023-07-09": "apple-teaser",
"2023-07-16": "two-eggs",
"2023-07-23": "special-numbers",
"2023-07-30": "scales-and-weights",
"2023-08-06": "picture-puzzles-1",
"2023-08-13": "monkey-business",
"2023-08-20": "locks-and-keys",
"2023-08-27": "frog-party",
"2023-09-03": "counting-chickens",
"2023-09-10": "tic-tac-toe",
"2023-09-17": "tic-tac-toe-with-levels",
"2023-09-24": "tangrams",
"2023-10-01": "secret-santa",
"2023-10-08": "patience",
"2023-10-15": "paper-pieces",
"2023-10-22": "nim-related-games",
"2023-10-29": "nim-21",
"2023-11-05": "mastermind",
"2023-11-12": "make-many",
"2023-11-19": "letter-matching",
"2023-11-26": "countdown",
"2023-12-03": "15-game",
"2023-12-10": "tetris-shapes",
"2023-12-17": "konigsberg-bridges",
"2023-12-24": "kaprekars-number",
"2023-12-31": "diffy-squares",
"2024-01-07": "where-on-earth",
"2024-01-14": "sdt-riddles",
"2024-01-21": "minimax",
"2024-01-28": "colouring-maps",
"2024-02-04": "bulgarian-solitaire",
"2024-02-11": "pell-numbers",
"2024-02-18": "paths",
"2024-02-25": "number-challenge-1",
"2024-03-03": "making-squares",
"2024-03-10": "logic-puzzles-1",
"2024-03-17": "iq-challenge-1",
"2024-03-24": "find-the-path",
"2024-03-31": "counting-squares",
"2024-04-07": "buffons-needle",
"2024-04-14": "balls-and-books",
"2024-04-21": "addition-squares",
"2024-04-28": "adding-to-15",
"2024-05-05": "9-dots",
"2024-05-12": "treasure-hunt",
"2024-05-19": "russian-multiplication",
"2024-05-26": "river-crossing",
"2024-06-02": "poisoned-wine-puzzle",
"2024-06-09": "matchstick-puzzles",
"2024-06-16": "magic-cards",
"2024-06-23": "langfords-problem"
}
96 changes: 96 additions & 0 deletions maths-club-pack/content/facilitator/bulgarian-solitaire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Bulgarian Solitaire

## Introduction

In this question we are using an *algorithm*, which is a simply set of intructions, to generate a sequence. Algorithms are used all over mathematical and computer sciences so it is good for students to be familiar with the idea. The nice part about this puzzle is that there are many questions that you could ask about the algorithm which is presented:

How many possible cities are there for some number of blocks?
What is the longest sequece for a given number of squares?
How does a sequence using some number of squares end?

Students can (and should) ask their own questions about this puzzle and others as this is a very important skill in mathematics.

## Solution

Here we will discuss the puzzle using 7 blocks, you can see the extension section for 6 and 8 blocks as well as some links to resources regarding this puzzle.

Let us write and arragement of piles by listing the number of blocks in each pile from left to right.
In this way we can write the starting city in the example as **(5,2)**.
The sequence in the example can be written **(5,2)** $\rightarrow$ **(4,2,1)** $\rightarrow$ **(3,3,1)** $\rightarrow$ **(3,2,2)** $\rightarrow$ **(3,2,1,1)** $\rightarrow$ *(4,2,1)*

There are 15 options for an arrangement of 7 blocks:
**(7)**
**(6,1)**
**(5,2)**, **(5,1,1)**
**(4,3)**, **(4,2,1)**, **(4,1,1,1)**
**(3,3,1)**, **(3,2,2)**, **(3,2,1,1)**, **(3,1,1,1,1)**
**(2,2,2,1)**, **(2,2,1,1,1)**, **(2,1,1,1,1,1)**
**(1,1,1,1,1,1,1)**

We can start to join up these arrangements based on which lead to which when they are rearranged. For example,
**(7)** $\rightarrow$ **(6,1)**
**(6,1)** $\rightarrow$ **(5,2)**
**(5,2)** $\rightarrow$ **(4,2,1)**
**(5,1,1)** $\rightarrow$ **(4,3)**

In fact, we can create a flow diagram which joins up all of the different arrangements made up of seven squares:

<img src="../../images/bulgarian-solitaire-08.png" width=300>

Now we can see the answers to our questions. The longest sequence has 7 different arrangements, starting at **(1,1,1,1,1,1,1)**:

<img src="../../images/bulgarian-solitaire-05.png" width=300>

And we can also see that all of the sequences end in a loop of four arrangements: **(4,2,1)**, **(3,3,1)**, **(3,2,2)** and **(3,2,1,1)**.

## Extension

Using 6 blocks, there are 11 different possible arrangements:
**(6)**
**(5,1)**
**(4,2)**, **(4,1,1)**
**(3,3)**, **(3,2,1)**, **(3,1,1,1)**
**(2,2,2)**, **(2,2,1,1)**, **(2,1,1,1,1)**
**(1,1,1,1,1,1)**

We can arrange these in a flow diagram:

<img src="../../images/bulgarian-solitaire-09.png" width=200>

So the longest sequence has 7 different arrangements, starting at **(2,2,1,1)**:

<img src="../../images/bulgarian-solitaire-06.png" width=200>

And all sequences end in the arrangemesnt **(3,2,1)**, which produces itself then rearraged.

Using 8 squares, there are 22 different possible arrangements:
**(8)**
**(7,1)**
**(6,2)**, **(6,1,1)**
**(5,3)**, **(5,2,1)**, **(5,1,1,1)**
**(4,4)**, **(4,3,1)**, **(4,2,2)**, **(4,2,1,1)**, **(4,1,1,1,1)**
**(3,3,2)**, **(3,3,1,1)**, **(3,2,2,1)**, **(3,2,1,1,1)**, **(3,1,1,1,1,1)**
**(2,2,2,2)**, **(2,2,2,1,1)**, **(2,2,1,1,1,1)**, **(2,1,1,1,1,1,1)**
**(1,1,1,1,1,1,1,1)**

We can arrange these in a flow diagram:

<img src="../../images/bulgarian-solitaire-10.png" width=400>

But here we notice a difference from using 6 or 7 blocks. The flow diagram is in two seperate parts!

We can still identify the longest sequence, which starts at **(1,1,1,1,1,1,1,1)** and has 9 different arrangements:

<img src="../../images/bulgarian-solitaire-07.png" width=400>

Depending on the starting point, we can either end up at:
a 4 arrangement loop: **(4,3,1)**, **(3,3,2)**, **(3,2,2,1)** and **(4,2,1,1)**
a 2 arrangement loop: **(3,3,1,1)** and **(4,2,2)**
(Have a look at the video link below to see why this is!)

If you would like to explore the ideas of this puzzle further, here are some excellent resources:

[MathPickle](https://mathpickle.com/project/bulgarian-solitaire-patterns/)
A slide show which gives flow diagrams and ending loops for cities using large numbers of squares.
[Tipping Point Math](https://www.youtube.com/watch?v=p3Bzvlnl-1s)
A YouTube video which looks at why certain numbers of squares give one or multiple ending loops of certain sizes.
Loading