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

All-variables Sudoku

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

By Henry Kwok
Sudoku Puzzle

Rules of All-Variables Sudoku

Like the standard sudoku, this sudoku variant has three basic rules:
  1. Each column, each row and each box (3x3 subgrid) must have the numbers 1 through 9.
  2. No column, row or box can have two squares with the same number.
  3. In addition to the above two basic rules, the puzzle can be solved by finding the values of the 9 given variables in the squares of the 9x9 grid.
At the bottom and right side of the 9x9 grid are groups of similar variables. Each set of variables is the sum of a column or row of variables in the 9x9 grid. A set of 10 equations can be formed from the columns and rows of variables.
For example, in the first and fourth columns beginning from the left of the 9x9 grid, we can form the following equations:
m + n = a
g + n + f = g + c
In the second and last rows beginning from the top of the 9x9 grid, the following equations can be formed:
b + g + f = a + g
e + n + m = a + b + d

After solving all the equations, the puzzle is solved by the usual sudoku technique and strategy.

An Excel file containing a copy of this Sudoku can be downloaded from the problem notes .

You may also like

Real(ly) Numbers

If x, y and z are real numbers such that: x + y + z = 5 and xy + yz + zx = 3. What is the largest value that any of the numbers can have?

Overturning Fracsum

Can you solve the system of equations to find the values of x, y and z?

Building Tetrahedra

Can you make a tetrahedron whose faces all have the same perimeter?

  • 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