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

Magic W Wrap Up

Age 16 to 18
Challenge Level Yellow star
  • Problem
  • Getting Started
  • Student Solutions

Judy sent us the following solution:

Suppose that we have a labelling with magic total $T$ that looks like this:

$A\quad\quad E\quad\quad I$
$\ B\quad D\quad F\quad H$
$\quad C\quad \quad G\quad $

Then we can replace each entry $x$ by $10-x$ and get another labelling (because if $x$ is one of 1, 2, \ldots, 9, then $10-x$ will also be). Also, this label will have magic total $30-T$, because instead of adding up $A+B+C$, for example, we'll add up $10-A+10-B+10-C=30-T$, and all of the sums will be the same. So if we have a labelling with magic total $T$, then we certainly have one with magic total $30-T$.

Using the solution to the Magic W problem, we know that there is 1 magic labelling for $T=13$, and there are 5 for $T=14$. So (using what we worked out above) there's also one for $T=17$ and 5 for $T=16$. (There can't be any more for $T=17$, for example, because any labelling of $T=17$ is also one of $T=13$.)

When do magic labellings exist? Well, again using the ideas from the solution to the Magic W problem, we must have $C+E+G+45=4T$. But $C+E+G\geq 6$, so $4T\geq 45+6=51$, so $T\geq 13$. Also, $C+E+G\leq 24$, so $4T\leq 45+24=69$ so $T\leq 17$. So we only need to check whether there are any magic labellings for $T=15$. Suppose that there is one. Then we have $C+D+E=15$, and also $C+E+G=4\times 15-45=15$, so $D=G$. But that's not allowed, so there are no labellings of $T=15$.

To summarise, there are magic labellings for $T=13, 14, 16$ and $17$ (and no others), and there are $1+5+5+1=12$ magic labellings.

You may also like

Instant Insanity

Given the nets of 4 cubes with the faces coloured in 4 colours, build a tower so that on each vertical wall no colour is repeated, that is all 4 colours appear.

Network Trees

Explore some of the different types of network, and prove a result about network trees.

Magic Caterpillars

Label the joints and legs of these graph theory caterpillars so that the vertex sums are all equal.

  • 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