Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Stage 5 Cipher Challenge

Age 16 to 18
Challenge Level Yellow starYellow starYellow star
  • Problem
  • Student Solutions
  • Teachers' Resources

We have created a set of seven very difficult linked ciphers to crack. We recommend that you try them in turn: each gives a small clue on how to solve the next cipher. Note that you may have to spend several days mulling over some of these codes and you will need to make use of spreadsheets, Word or other similar tools to make any headway!

The challenge ciphers

As you try to decode these secret messages, remember that code-breaking is a mixture of a systematic application of mathematics, logic, intuiton and guesswork. 

First challenge cipher

Second challenge cipher

Third challenge cipher

Fourth challenge cipher

Fifth challenge cipher

Sixth challenge cipher

Seventh challenge cipher

Something to think about along the way, and the mathematical challenge for this problem

Imagine that you will frequently be attempting to decode encrypted messages coded using the methods employed in the seven challenge ciphers.

Create a flow chart showing how you might go about trying to crack such messages, assuming that you do not know at the outset which method of encoding is used for a given message. Of course, your flow chart will not guarantee the cracking of a code, but ideally will indicate a good way to go about trying to crack the codes.

As you create your flow chart you will see that decisions will need to be made based on probability, liklihood, complexity and speed of computation. You will need to think how best to include these decisions in your flow chart. This can be approached from various levels of complexity; try to solve using as much mathematics as you can bring to the problem.

You may also like

Probably a Code?

Is the regularity shown in this encoded message noise or structure?

More Secret Transmissions

In 'Secret Transmissions', Agent X could send four-digit codes error free. Can you devise an error-correcting system for codes with more than four digits?

A Roman Conversion?

First cipher

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo