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

Square Difference

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

This question asks students to investigate the different numbers they can make by considering the difference of two squares and to generalise their results.  They will also need to prove that all numbers of a certain form can be made, and that it is impossible to make numbers of another form.

Students will probably need to use the following information

  • Difference of two squares formula $a^2-b^2=(a+b)(a-b)$
  • An even number can be written in the form $2k$, and an odd number in the form $2k+1$
  • Facts about parity of numbers (for example an odd number multiplied by an odd number is odd)
  • Uniqueness of prime factorisation

There are lots of suggestions for support for students in the What's Possible? Teacher notes.

Possible extension

Here is a list of number theory problems.

Students could also consider how they could write all numbers as a difference of two squares if they relax the "integer" condition.

How many ways are there to write any number as a difference of two squares?

You may also like

Curvy Equation

This problem asks you to use your curve sketching knowledge to find all the solutions to an equation.

Digital Equation

Can you find a three digit number which is equal to the sum of the hundreds digit, the square of the tens digit and the cube of the units digit?

Euler's Totient Function

How many numbers are there less than $n$ which have no common factors with $n$?

  • 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