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

This Pied Piper of Hamelin

Age 7 to 11
Challenge Level Yellow starYellow star
Primary curriculum
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources



"The Pied Piper of Hamelin'' is a story you may have heard or read. This man, who is often dressed in very bright colours, drives the many rats out of town by his pipe playing -  and the children follow his tune.

Suppose that there were $100$ children and $100$ rats. Supposing they all have the usual number of legs, there will be $600$ legs in the town belonging to people and rats.

But now, what if you were only told that there were $600$ legs belonging to people and rats but you did not know how many children/rats there were?

The challenge is to investigate how many children/rats there could be if the number of legs was $600$. To start you off, it is not too hard to see that you could have $100$ children and $100$ rats; or you could have had $250$ children and $25$ rats. See what other numbers you can come up with.
Remember that you have to have $600$ legs altogether and rats will have $4$ legs and children will have $2$ legs.

When it's time to have a look at all the results that you have got and see what things you notice you might write something like this:

a) $100$ Children and $100$ Rats  - the same number of both,
b) $150$ Children and $75$ Rats - twice as many Children as rats,
c) $250$ Children and $25$ Rats -   ten times as many Children as Rats.

This seems as if it could be worth looking at more deeply. I guess there are other things which will "pop up'', to explore.

Then there is the chance to put the usual question "I wonder what would happen if ...?''
 

You may also like

Geoboards

This practical challenge invites you to investigate the different squares you can make on a square geoboard or pegboard.

Polydron

This activity investigates how you might make squares and pentominoes from Polydron.

Multilink Cubes

If you had 36 cubes, what different cuboids could you make?

  • 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