# National Lottery

As of the **23rd May 2022 this website is archived** and will receive **no further updates**.

https://understandinguncertainty.org was produced by the Winton programme for the public understanding of risk based in the Statistical Laboratory in the University of Cambridge. The aim was to help improve the way that uncertainty and risk are discussed in society, and show how probability and statistics can be both useful and entertaining.

Many of the animations were produced using Flash and will no longer work.

The UK National Lottery began on 19th November 1994 and there had been 1240 draws up to 20th October 2007. The jackpot prize is won by choosing in advance the 6 numbers that will be drawn from a set of balls numbered from 1 to 49. We can use the history of the lottery to illustrate many aspects of the theory of probability: how each draw is individually unpredictable, and yet the overall history shows predictable patterns; how a `league table' of numbers can be created that appears to show some numbers are preferentially drawn, and yet the table is completely spurious; how to test whether the balls are truly being drawn at random; how extremely unlikely events will occur if you wait long enough, and so on.

Click to enlarge the animation

Starting from 1994, note how the 'leader' changes, until one number seems to gain a substantial lead.

If you click on 'Show histogram', you can create the current distribution showing how often each of the 49 numbers has come up. Press 'Start dropping' to see how that histogram arises. The distribution seems quite spread out, with some numbers appearing much more often than others, but in fact this apparent spread should be purely due to chance. *Lottery Expectations* considers what sort of distribution of total appearances of each number we would expect when lottery balls are chosen at random.

## What about the gaps between numbers?

Using the animation above, work backwards from October 2007 and see how long you have to wait until the last number appears. Do you think this is surprising? We can use probability theory and simulations to explore how long we have to wait for a number to come up.

The animation below shows the gap between each time a number comes up.

Click to enlarge the animation

Can you see the longest gap that has occurred? Look carefully from the start of 2000. Do you think this is surprising? *Lottery Expectations* considers what sort of gaps between numbers we would expect when lottery balls are chosen at random.

## Further reading and links

This is based on an idea by Fenton on considering the lottery results as a league table.

A spreadsheet with the full lottery history can be downloaded from the main UK National lottery site

- Log in to post comments

## Comments

Jake Anderson (not verified)

Thu, 01/12/2011 - 11:17am

Permalink

## Thanks for sharing! This was

dude (not verified)

Fri, 02/12/2011 - 1:52am

Permalink

## day of first prizes won

hombreguapo

Sat, 20/10/2012 - 12:45pm

Permalink

## Randomness