11th June 2004 at 01:00
Codes and code-breaking are excellent ways to engage pupils in mathematical thinking. Using frequency analysis to break a substitution cipher demonstrates the power of simple statistical analysis. As activities, pupils can develop encryption methods, and encode messages and try to crack each other's ciphers. Pupils can investigate more sophisticated encoding techniques, leading to public-key encryption, which involves using prime numbers and modular arithmetic.

Maths libraries should have The Code Book by Simon Singh and In Code by Sarah Flannery. The first is a history of codes and code-breaking, and explains the maths involved. In Code is about the author, who developed an encryption method. It includes lots of mathematical puzzles.

Why not organise a visit to Bletchley Park, where the Enigma code was cracked (

Simon Singh's website (www.simonsingh.netThe_Black_Chamberhome.html) has activities and simulations on codes and code-breaking.

Log-in as an existing print or digital subscriber

Forgotten your subscriber ID?


To access this content and the full TES archive, subscribe now.

View subscriber offers


Get TES online and delivered to your door – for less than the price of a coffee

Save 33% off the cover price with this great subscription offer. Every copy delivered to your door by first-class post, plus full access to TES online and the TES app for just £1.90 per week.
Subscribers also enjoy a range of fantastic offers and benefits worth over £270:

  • Discounts off TES Institute courses
  • Access over 200,000 articles in the TES online archive
  • Free Tastecard membership worth £79.99
  • Discounts with Zipcar,, Virgin Wines and other partners
Order your low-cost subscription today