The Code (British TV programme)

The Code is a mathematics-based documentary television programme for BBC Two presented by Marcus du Sautoy, beginning on 27 July 2011 and ended on 10 August 2011.

As well as being a documentary, The Code is also included a series of online challenges forming a treasure hunt, with clues to finding the treasure being included in the episodes, online games and other challenges.

Answers to these questions can be found by watching the episode for clues, completing a flash game, solving a puzzle on the programme's blog or reaching a milestone in a mass community challenge, which involves trying to find examples of all the prime numbers between 2 and 2011 in the real world.

Once it was accessed, the first three eligible people to solve the Ultimate Challenge went through to the Finale.

The prize, a specially commissioned mathematical sculpture of the platonic solids, was won by Pete Ryland.