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

Euler's Squares

Age 14 to 16
Challenge Level Yellow star
  • Problem
  • Student Solutions

Euler found four whole numbers such that the sum of any two of the numbers is a perfect square. Three of the numbers that he found are \begin{equation*} a= 18530, \quad b=65570, \quad c=45986. \end{equation*}

Find the fourth number, $x$. You could do this by trial and error (sometimes called trial and improvement), and a spreadsheet would be a good tool for such work. However, Euler would not have used any electronic calculating aids to find his 'fearsome foursome' and he would have found ways of reducing the search to a small number of cases and this is what you should try to do. You could do this by writing down \begin{equation*} a+x = P^2 \end{equation*} \begin{equation*} b+x = Q^2 \end{equation*} \begin{equation*} c+x = R^2, \end{equation*}

and then focussing on $ Q^{2}-R^2=b-c $ which is known. Moreover you know that $ Q > \sqrt{b} $ and $ R> \sqrt{c} $. Use this to show that $ Q-R \leq 41 $. Use a spreadsheet to calculate values of $ Q+R $, $ Q$ and $ x $ for values of $ Q-R $ from $ 1 $ to $ 41 $, and hence to find the value of $ x $ for which $ a+x $ is a perfect square.

There may be better ways to do this, and if you find one, do let us know!

You may also like

DOTS Division

Take any pair of two digit numbers x=ab and y=cd where, without loss of generality, ab > cd . Form two 4 digit numbers r=abcd and s=cdab and calculate: {r^2 - s^2} /{x^2 - y^2}.

2-digit Square

A 2-Digit number is squared. When this 2-digit number is reversed and squared, the difference between the squares is also a square. What is the 2-digit number?

Odd Differences

The diagram illustrates the formula: 1 + 3 + 5 + ... + (2n - 1) = n² Use the diagram to show that any odd number is the difference of two squares.

  • 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