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

Clock Squares

Age 14 to 18
Challenge Level Yellow starYellow star
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources

Why do this problem?

This problem follows on from Clock Arithmetic. It gives students the opportunity to consider what happens when we square numbers in modular arithmetic.  It gives students the opportunity to work systematically and to spot patterns.

Possible approach

This problem featured in an NRICH Secondary webinar in April 2021.

To start with students could be asked what the values of $1^2$, $2^2$, $3^2$ and $4^2$ are modulo $5$.  Can they state what $5^2 \text{ mod } 5$ is without evaluating $5^2$?  Can they predict what $6^2, 7^2$ etc are modulo $5$?  

Students could work in pairs to find square numbers in different modulos, and it might be useful to start by only considering prime number modulos.  Encourage students to collect their results in a table and to start to look for patterns.  Challenge them to predict what the pattern will look like for a new modulo and test their predictions.

Students can then go on to investigate square numbers in modulos that are odd but not prime, or which are even.

 

Key questions

Which values of $x$ satisfy $x^2 \equiv 0 \text{ mod }n$?

When working in modulo $p$, where $p$ is prime, how many different values of $x^2 \text{ mod } p$ are there?

 

Possible support

Students could start by working on Clock Arithmetic.
Students should be encouraged to work systematically and to lay out their results logically, possibly in a table.

 

Possible extension

If they have not already done so, students might like to move onto More Adventures with Modular Arithmetic.  They might also like to investigate Euler's Totient Function.



Further reading on modular arithmetic can be found here


 

  • 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