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

Khun Phaen Escapes to Freedom

Age 11 to 14
Challenge Level Yellow starYellow starYellow star
  • Game

Khun Phaen is a famous character in Thai Legend. This game was originally known as `Khun Chang Khun Phaen' and refers to Khun Phaen being imprisoned. He breaks out of jail by escaping the cordon of nine sentries who are guarding him.

The jail is represented by a four by five rectangle as shown. Starting with the square representing Khun Phaen and the rectangles and squares A, B, C, D, E, F, G, H, I, representing the guards in the positions shown in the diagram, you have to slide the pieces, keeping them all inside the jail at all times, to move Khun Phaen past all the guards into the position at the centre bottom from which he can escape to freedom.

The best way to try this challenge is to make yourself a model in cardboard or wood with a rectangular frame to keep all the pieces within bounds.



Khun Phaen - Ten More Challenges
In each case the challenge is to slide the pieces from the start position in the left side of each
frame to the end position on the right side of each frame.

More Khun Phaen challenges

For more information about the poem and the story see http://en.wikipedia.org/wiki/Khun_Chang_Khun_Phaen

You may also like

Have You Got It?

Can you explain the strategy for winning this game with any target?

Yih or Luk Tsut K'i or Three Men's Morris

Some puzzles requiring no knowledge of knot theory, just a careful inspection of the patterns. A glimpse of the classification of knots and a little about prime knots, crossing numbers and knot arithmetic.

Lambs and Tigers

Investigations based on an Indian game.

  • 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