Motorway problem

Imagine four towns in a square system with side length 1 mile.

You would like to connect all four towns by motorways, using the least amount of road (not necessarily the most efficient for any one particular town).

Here is one option – it would take 4 miles of road. Can you do better?

Once you have had plenty of time to think and try and find and evaluate the best route, watch this video for the solution.

Secret Santa

santa

The rules of a secret santa are that each person’s name is put in a hat and the names are mixed. Then each person must choose 1 name from the hat. If you choose your own name, you must put it back in the hat.

If 2 people do a secret santa there is only one solution: Person A gives to person B and person B gives to person A.

Stage 1: With 3 people, there are 2 possible ways. Can you think why?

Stage 2: Now how many different ways are there with 4 people?

The final challenge is to find the number of different scenarios with 5 people.

Solutions can be found here.

Merry Christmas from SAMI!

SAMI (Supporting African Maths Initiatives) supports mathematics work across Africa, including coordinating volunteers and resources to help run yearly maths camps in Kenya, Ghana, Ethiopia and Tanzania, as well as weekly maths clubs in over 70 schools. SAMI has also helped to raise money and lend expertise to developing computer programs for statistics and education, as well as providing tablets and training to help improve livelihoods for people living in rural African villages. With some extra funding SAMI could extend their projects to more schools and communities in more countries, and travel to the most isolated areas where their support is needed most.

See here for more information about SAMI. Donations are very welcome here.

Enjoy the puzzles, Merry Christmas.

Christmas circle

Children are sitting in a circle, and a teacher walks around the circle, giving presents. The teacher gives a blue present to every second child, and a green present every third child.

After going around four times, the sixth child from where the teacher started has two blue present and two green presents.

What is the fewest amount of children could there be?

Solution is here.

Christmas circle solution

The teacher goes round the circle four times. If there was an even number of children, the sixth child would always receive a blue present and would have four blue presents at the end. Since they only have two blue presents, there must be an odd number of children in the circle.

With the same logic for the green presents the answer can’t be a multiple of 3.

The sixth child receives a green present in the first round because 6 is a multiple of 3. She only receives one more green present so the answer can’t be a multiple of 3.

The options are 7, 11, 13, 17, 19 … and so 7 is the fewest number of children.

Christmas trees

Matt, Noah, Olivia and Penny are at the Christmas market.

A Christmas tree seller is selling decorated and undecorated trees.

There is one more decorated tree than undecorated tree.

How-to-Draw-Christmas-Tree-Decoration-final-step-215x382

Matt says that the number of decorated trees is prime.

Noah says the total amount of trees is more than 8 and less than 12.

Olivia says that there are 4 undecorated trees.

Penny says that Olivia or Noah are lying.

 

Only one of the four are lying.

 

How many trees are there?

Solution is here.

Christmas trees solution

There must be 4 decorated trees and 5 not decorated.

The first assumption that can be made is that either Penny, Olivia or Noah are lying, because if Penny is lying, everyone else is truthful, and if Matt is lying, Penny states that Noah or Olivia are also lying, so either one of those three are lying, which means there are too many liars.

Therefore, we have two truths: there is one more decorated tree than undecorated, and the number of trees is prime, what Matt says. Starting with all primes smaller than ten, there could be 2 undecorated and 3 decorated trees, 4 undecorated and 5 decorated trees, or 6 undecorated and 7 decorated trees.

If Olivia is telling the truth, the total is 9 (4+5) , which also means that Noah is telling the truth ( 8 < 9 < 12), and Penny is lying. In the other cases, both Noah and Olivia must be lying at once(2+3 < 8 and 6+7 > 12, none of these possibilites contain 4).

The only possible solution is when Penny is lying, and we’ve seen that in this scenario, there are 5 decorated trees and 4 undecorated trees.

Snowman’s football match (solution)

The possibilities are:

(Wins, draws, goals)

Rudolphs: (0, 0, 8) or (0, 1, 3)

Comets: (0, 0, 14) or (0, 1, 9) or (0, 2, 4) or (1, 0, 4)

Vixens: (0, 0, 9) or (0, 1, 4)

 

If there were 3 games, then there would be 30 points

for wins and draws, leaving just 1 point for goals,

so that is not possible, since each team scored in each game.

 

Thus, there were only 2 games,

yielding 20 points for wins and draws, 11 for goals,

which reduces the possibilities to

Rudolphs: (0, 1, 3)

Comets: (0, 2, 4) or (1, 0, 4)

Vixens: (0, 1, 4)

 

Rudolphs had a draw (and maybe a loss).

Comets had 2 draws or a win and no other match.

Vixens had a draw (and maybe a loss)

 

If Comets had 2 draws, then both games were draws,

but that is not possible since total goals was 11, which is odd.

So Comets had a win against one of the others,

and the other game was a draw between the Rudolphs and the Vixens.

 

The score of Rudolphs-Vixens draw then was either 1-1, 2-2, or 3-3

Since Vixens scored more goals than Rudolphs, they

are the ones who lost to Comets, and Rudolphs, only playing once,

scored all 3 goals in that game, equalling Vixens.

Comets scored all 4 of their goals in their only game, where

Vixens scored one additional goal.

 

The results were:

Comets  4, Vixens 1

Rudolphs 3, Vixens 3

Snowman’s football match

Snowman had never fully understood the points  system in football, and felt that the scoring of goals should be encouraged. His idea is that 10 points should be awarded for a win, 5 points for a draw and 1 point for each goal scored, whatever the result of the match.

This was tried with three teams: Rudolph, Comet and Vixen.

Each team scored at least one goal in every match and no team played another more than once.

Rudolph scored 8 points, Comet 14 points and Vixen scored 9 points.

Find the score in each match.

Solution is here.

Galton’s Board

galton board

This week we looked at an online simulation of the Galton board (or Bean Machine), which is a device where beads are dropped from a funnel at the top through ranks of nails.
Each time a bead strikes a nail it has a 50% chance to veer left and a 50% chance to veer right.

Each bead eventually drops in one of the column A, B, C, D or E.

1. Do you think the probabilities for a bead to land in A,B,C,D or E are equal ?
2. If not which column has the highest probability ?
3. Can you do a computer simulation of 10,000 beads dropping in a Galton
board using scratch or Python ?

Dice simulation

When you throw two dice and add the numbers together what number are you most likely to get? What is the smallest number you can get? What is the biggest? Are all numbers equally likely?

We used python to simulate rolling a dice 100 times and plotted the results using pygal. Step by step instructions are here.

A big challenge would be to program the following game on python:

Pig Game

The game of Pig is a two player game played with two six-sided dice. The object of the game is to reach 100 points of more. Play is taken in turns. On each person’s turn that person has the option of either:

  1. Rolling the dice: where a roll of two to six is added to their score for that turn and the player is given the same choice again; or a roll of 1 loses the player’s total points for that turn and their turn finishes with play passing to the nexxt player.
  2. Holding: the player’s score for that round is added to their total and becomes safe from the effects of throwing a 1. The player’s turn finishes with play passing to the next player.