Four Fours
Introduction

# About Four Fours

Four Fours is a mathematical challenge that can be explored to many levels. If you are new to this puzzle, you should take on the First Challenge below. If you like Four Fours, or have suggestions, please use the feedback form.

# The Four Challenges

1. The First Challenge is to find the Four Fours terms for numbers 0 to 19, using only your brain to assist with the calculations. You will only need to use the Basic Rules to achieve this.
2. The Second Challenge is to find the Four Fours terms for 20 to 99. Use of a calculator is allowed. You will need the Basic Rules, and Advanced Rules to achieve this.
3. The Third Challenge is to write a computer program to find Four Fours terms for other numbers, using the Basic Rules and Advanced Rules. You will need access to programming resources to achieve this.
4. The Fourth Challenge is to write a computer algorithm that will know whether a Four Fours term is possible for any given integer in the most efficient way possible, e.g. without looking up pre-computed four fours solutions, or without the combinatorial number-crunching required to solve the Third Challenge.

See Education for ideas on how to turn any of these challenges into an educational resource.

# First Challenge: Basic Rules

The First Challenge is to find answers for the whole numbers 0 to 19, using the Basic Rules (below).

If you're really stuck, Solutions have been submitted by the Web community.

### Basic Rules

A number is chosen, for example, '1'. Using only four '4's, i.e. 4, 4, 4, and 4, with any number of operators and parentheses, you must arrive at the chosen solution. For example,

0 = (4+4) – (4+4)
1 = (4/4) / (4/4)

OK, that's 0 and 1 done, what about the rest? All numbers are now open for suggestions. As the web community submits solutions, gaps in the sequence will become apparrent – the challenge is to fill these gaps!

Basic operators to start you off:

• subtraction, –
• multiplication, *
• division, ÷, shown here as /
• x raised to the power n, xn, shown here as x^n
note that x and n must both be constructed using the other rules.

# Second Challenge: Advanced Rules

The Second Challenge is to find answers for the whole numbers 20 to 99. You may use the Advanced Rules (below).

If you're really stuck, Solutions have been submitted by the Web community. These solutions do not stop at 99, and other puzzlers have used the Third Challenge to achieve solutions to 40,000 and beyond, using different rules.