# Blog

## Archive

Show me a random blog post**2019**

### Jun 2019

Proving a conjecture### Apr 2019

Harriss and other spirals### Mar 2019

realhats### Jan 2019

Christmas (2018) is over**2018**

**2017**

**2016**

**2015**

**2014**

**2013**

**2012**

## Tags

ternary pizza cutting martin gardner sound asteroids christmas card london underground mathsteroids people maths rhombicuboctahedron harriss spiral folding paper london palindromes game of life chess nine men's morris manchester bubble bobble map projections mathsjam european cup games folding tube maps wool python latex go plastic ratio aperiodical big internet math-off royal baby countdown propositional calculus christmas rugby oeis noughts and crosses trigonometry radio 4 final fantasy php chalkdust magazine a gamut of games football manchester science festival accuracy chebyshev electromagnetic field arithmetic books matt parker graph theory weather station curvature sport dates misleading statistics data logic the aperiodical game show probability estimation approximation reuleaux polygons realhats world cup hats flexagons cross stitch pythagoras stickers puzzles pac-man twitter geometry speed raspberry pi golden ratio binary triangles coins light braiding menace fractals tennis platonic solids machine learning captain scarlet dragon curves news hexapawn probability programming statistics reddit error bars bodmas interpolation dataset craft draughts sorting frobel video games golden spiral national lottery mathslogicbot inline code polynomials javascript gerry anderson## World Cup stickers 2018, pt. 3

**2018-07-07**

So you've calculated how much you should expect the World Cup sticker book to cost
and recorded how much it actually cost. You might be wondering what else you can do with your sticker book.
If so, look no further: this post contains 5 mathematical things involvolving your sticker book and stickers.

### Test the birthday paradox

In a group of 23 people, there is a more than 50% chance that two of them will share a birthday. This is often called the birthday paradox, as the number 23 is surprisingly small.

Back in 2014 when Alex Bellos suggested testing the birthday paradox on World Cup squads, as there are 23 players in a World Cup squad. I recently discovered that even further back in 2012, James Grime made a video about the birthday paradox in football games, using the players on both teams plus the referee to make 23 people.

In this year's sticker book, each player's date of birth is given above their name, so you can use your sticker book to test it out yourself.

### Kaliningrad

One of the cities in which games are taking place in this World Cup is Kaliningrad. Before 1945, Kaliningrad was called Königsberg. In Königsburg, there were seven bridges connecting four islands. The arrangement of these bridges is shown below.

The people of Königsburg would try to walk around the city in a route that crossed each bridge exactly one. If you've not tried this puzzle before, try to find such a route now before reading on...

In 1736, mathematician Leonhard Euler proved that it is in fact impossible to find such a route. He realised that for such a route to exist, you need to be able to pair up the bridges on each island so that you can enter the island on one of each pair and leave on the other. The islands in Königsburg all have an odd number of bridges, so there cannot be a route crossing each bridge only once.

In Kaliningrad, however, there are eight bridges: two of the original bridges were destroyed during World War II, and three more have been built. Because of this, it's now possible to walk around the city crossing each bridge exactly once.

I wrote more about this puzzle, and using similar ideas to find the shortest possible route to complete a level of Pac-Man, in this blog post.

### Sorting algorithms

If you didn't convince many of your friends to join you in collecting stickers, you'll have lots of swaps. You can use these to practice performing your favourite sorting algorithms.

#### Bubble sort

In the bubble sort, you work from left to right comparing pairs of stickers. If the stickers are in the wrong order, you swap them. After a few passes along the line of stickers, they will be in order.

In the insertion sort, you take the next sticker in the line and insert it into its correct position in the list.

In the quick sort, you pick the middle sticker of the group and put the other stickers on the correct side of it. You then repeat the process with the smaller groups of stickers you have just formed.

### The football

Sticker 007 shows the official tournament ball. If you look closely (click to enlarge), you can see that the ball is made of a mixture of pentagons and hexagons. The ball is not made of only hexagons, as road signs in the UK show.

Stand up mathematician Matt Parker started a petition to get the symbol on the signs changed, but the idea was rejected.

If you have a swap of sticker 007, why not stick it to a letter to your MP about the incorrect signs as an example of what an actual football looks like.

### Psychic pets

Speaking of Matt Parker, during this World Cup, he's looking for psychic pets that are able to predict World Cup results. Why not use your swaps to label two pieces of food that your pet can choose between to predict the results of the remaining matches?

### Similar posts

World Cup stickers 2018, pt. 2 | World Cup stickers 2018 | World Cup stickers | Euro 2016 stickers |

### Comments

Comments in green were written by me. Comments in blue were not written by me.

**2019-05-29**

You want a specific set of 20 stickers. Imagine you have already \(n\) of these. The probability that the next sticker you buy is one that you want is

$$\frac{20-n}{682}.$$

The probability that the second sticker you buy is the next new sticker is

$$\mathbb{P}(\text{next sticker is not wanted})\times\mathbb{P}(\text{sticker after next is wanted})$$

$$=\frac{662+n}{682}\times\frac{20-n}{682}.$$

Following the same method, we can see that the probability that the \(i\)th sticker you buy is the next wanted sticker is

$$\left(\frac{662+n}{682}\right)^{i-1}\times\frac{20-n}{682}.$$

Using this, we can calculate the expected number of stickers you will need to buy until you find the next wanted one:

$$\sum_{i=1}^{\infty}i \left(\frac{20-n}{682}\right) \left(\frac{662+n}{682}\right)^{i-1} = \frac{682}{20-n}$$

Therefore, to get all 682 stickers, you should expect to buy

$$\sum_{n=0}^{19}\frac{682}{20-n} = 2453 \text{ stickers}.$$

**2019-05-16**

**2019-03-08**

**Add a Comment**

**© Matthew Scroggs 2019**

2019-06-19Milad