Collatz conjecture

collatz

Think of an positive integer.

If it is equal to 1, stop.

If it is even, divide it by 2.

If it is odd, multiply it by 3 and add 1.

With the new number you get, repeat the instructions above.

If you picked the number 6, your sequence would look like this:

3, 10, 5, 16, 8, 4, 2, 1

Did your sequence end up at 1? Mathematicians have guessed (hypothesised) that all starting choices will eventually end up at 1, but no one has been able to prove this. If you can find just one example that disproves this theory then you could claim a prize of 120 million Japenese YenHere is a fun example of a counterexample that took a long time to find.

Try a few starting numbers by hand. Then you could try and use the power of a spreadsheet such as Geogebra, or by writing some code on Python and let the computer do the hard work for you!

Open up Geogebra.

You will need to use the Mod  command:

Mod[ <Dividend Number>, <Divisor Number> ]

to check if the number is even.

and the If command:

If[ <Condition>, <Then>, <Else> ]

to choose what to do if it is even and what to do if it is odd.

Put together, here is the formula you should put into cell A2, once you have put a starting number in A1.

=If[Mod[A1, 2] == 0, A1 / 2, A1*3 + 1]

Then just hover your mouse pointer in the bottom right corner and click the left button and hold down and drag down lots of cells. You should see the sequence appear.

If you want to be super clever you could try and combine two If statements so that if the cell was equal to 1 it would stop calculating and just say “STOP”.

You could also try this activity on Python, click on the menu bar on the top left to make it full screen.

Good luck!

First challenge – squares in squares puzzle

Deadline – 22nd of March!

Draw a square and choose four numbers to put at each vertex. For example:

diffy1

Now in the middle of each segment write the positive difference between the two numbers at each end. e.g. the difference between 5 and 6 is 1.

diffy3

Join these new points up with a square

diffy4

Now in the middle of each segment of the new square find the positive difference of the numbers at each end. For example the difference between 15 and 1 is 14. Do this for all the segments and draw another square joining up your four new answers.

diffy5

Keep finding the positive differences and joining these points up into a square until you reach 0,0,0,0.

diffy6

Choose four new starting numbers and follow the instructions above to create your own version of this.

Our first choice of four starting numbers meant drawing 4 squares before we reached 0,0,0,0. How many squares have you drawn with your choice of starting numbers?

Your challenge is now to find the longest sequence of squares you can before the sequence reaches 0,0,0,0 and send us your answer.

An easy way to send sequences would be as lists of numbers. For example the one above could be written as

diffy7

Please write giving us your longest sequence and any other thoughts on the puzzle using the “Leave a comment” button below.

 

Dobble!

dobble card

We started off by playing the card game Dobble. If you haven’t seen it before, the game consists of a set of cards like the one above with 8 symbols on each card. You compete in a small group of people to be the first to spot a common symbol with your topmost card and a card in the middle.

The question is, what is the maximum number of cards you could have in the Dobble pack so that there is always exactly one identical symbol between any two given cards, and this identical symbol is not the same for all the cards (that would be a boring game!).

This is a hard question to answer straight away, try first to create a “Dobble” set of cards with just 2 symbols per card.

Then try and create a set with 3 symbols per card.

Any patterns you spot should help you to answer the hard question!

Here is a nice blog on the maths behind Dobble.

Cribbage

cribbage4

Cribbage

We played a simplified version of Cribbage, and looked at some of the interesting maths behind it.

Rules

Game for up to 8 players. Each person is dealt six cards. Players choose four cards to keep. Then one card is turned up in the centre of the table and counts as part of each player’s hand. Ace is considered the low card, and king high. The scoring is as follows:

Fifteens. Each card is assigned a value. Ace through 10 are the face value of the card, and jack, queen and king have value 10. Each combination that totals fifteen is awarded 2 points.

Pairs. Each pair of cards, ace through king, is awarded 2 points.

Runs. Each run of three or more cards is awarded the number of points equal to the length of the run – a run of three is worth 3 points, a run of four, 4 points, and a run of five, 5 points. In this instance runs are not counted in multiple ways. For example, A ,2, 3, 4, 5 is not counted as one run of five, two runs of four and three runs of three, but only as a single run of five.

The person with the highest score after four rounds is the winner.

Example hand (scores 16 points)

cribbage3

Questions to think about:

What do you think is the minimum and maximum scores possible?

Can you find the maximum hand?

Are there any impossible numbers inbetween?

Are some points totals more common than others?  How could we know for sure?

See this page for some of the answers to these questions.

Here are the full version rules of Cribbage

Quadrilaterals

9 pin board

Find all the different quadrilaterals you can make by joining four dots on a 9-dot grid.

Different in this case means not congruent – i.e. none of your quadrilaterals should be able to be formed by rotating, translating or reflecting one of your other quadrilaterals.

Here is a couple to get you started:

quadrilaterals

How many can you find?

Coin puzzles

coin title

Some of these puzzles are taken from a nice book by Alex Bellos called Can you solve my problems? Alex Bellos does a fun puzzle blog on the Guardian every two weeks.

The Four Stacks

four stacks

Start with eight coins in a row, and create four stacks of two coins in four moves. A move consists of moving one coin to the left or right by hopping over two coins and landing on the third one along. You can hop over single coins or stacks.

Tait’s Teaser

coin - tait

The aim of the puzzle is to start with two different types of coin (or heads and tails of the same coin) in the arrangement above and get to the arrangement below in as few ‘moves’ as possible.

coin - tait2

A move consists of moving two adjacent coins at the same time. You can move them anywhere in the same line, but you can’t switch the two coins around as you do so.

The answer is not five!

Frogs and Toads

frogs and toads

Place six coins as shown above. The white ones represent toads and the grey ones are frogs. Frogs and toads can only move by hopping over one other frog or toad to an empty space. Toads can move to the right, and frogs to the left. Can you rearrange them into the position below?

frogs and toads final

See here for an interactive version of this puzzle created by NRich which allows you to change the number of frogs and toads.

Star Puzzle

Star

Draw a star and try to place 9 coins on any of the black vertices. You can place coins by starting from a vertex which is empty, moving in a straight line and counting 1,2,3. Number 1 is the vertex you start on, number 2 may or may not have a coin on it, and number 3 is where you place your coin.

Two possible opening moves are shown below

Star2Star3

Here is an attempt that has gone wrong! 7 coins have been placed but there is no way to place any more, because you must start on an empty vertex.

Star4

Here is a great little applet coded by Etienne Royer-Gray to play with:

Just one cut

Capture

The first challenge today was to cut a square out of a piece of paper using just one straight cut with a pair of scissors.

square fold

The picture above gives you a hint how to fold it first if you look closely!

Next challenge is to cut out an equilateral triangle by doing some careful folding and just one straight cut.

Here are instructions for making the letters of your name just using one cut!  Click on “Folding Steps” for step by step instructions.

Paper folding and cutting can be taken very far – you can try to make all the number diamond playing cards in this way!!

For hints on this challenge and more activities see this page from the Wild Maths website.

Counting Chickens

chickens

On a special farm chickens live in circular fields, separated by fence posts and straight pieces of fencing

best chickens

Is there a pattern between the number of fence posts and the maximum number of chickens that can be kept?

Are you sure?  How do you know?

Can you explain why?

Hint: The answer when you have 6 posts is not what you might think!

When you have had a play around with this problem you might like to read this article or check out this solution.