A trick worth understanding
"Think of a number, double it, add six, halve it, take away the number you started with." Before the audience has even finished, the performer calls out the answer. How? Algebra explains why the trick works, how to change what it produces, and how a longer version can even reveal someone's birthday. The very same tool helps you fill number pyramids from the top down, and predict the top of a pyramid just by looking at its base.
Think of a number
Let the unknown number be and follow the steps:
| Step | Words | Algebra |
|---|---|---|
| 1 | Think of a number | |
| 2 | Double it | |
| 3 | Add | |
| 4 | Halve it | |
| 5 | Subtract the original number |
Whatever was, the answer is . Want it to be instead? Add at step 3. Want any number ? Add .
Fancier versions work in exactly the same way. "Triple it, add , divide by , subtract the number" always gives . And "add , double, subtract , halve" hands back itself, which is how a performer seems to "read your mind".
Finding a date
Ask a friend to pick a date, with month and day , and then:
- multiply the month by : ;
- add : ;
- multiply by : ;
- add : ;
- multiply by : ;
- add the day: .
When your friend tells you the result, subtract . What is left is . The last two digits give the day (it is never more than , so two digits are enough), and whatever comes before them is the month.
Example 1. Result : , which reads , so 21 October. Result : , so 14 January. Result gives , which looks like 8 August at first, but month , day , and no month has that day. Your friend has made a mistake, so the trick catches errors too.
If you change the numbers added in steps 2 and 4, the number you subtract at the end changes too; with and it becomes . Any version that uses ", , " produces , and that is what keeps the month and the day apart.
Number pyramids
In a number pyramid, each brick is the sum of the two bricks just below it. Start with the bottom row : the middle row is and the top is .
The real puzzle is filling down. Say the top is , the bottom-left is , the bottom-right is , and the middle of the bottom row is an unknown . Then the middle row is and . These add up to the top, so , which gives . The middle row is .

The general top. With bottom row , the middle row is , , and the top is . See how the middle brick gets counted twice? With four bricks the top is , and with five it is . Those multipliers are exactly the rows of Pascal's triangle.
Example 2. Bottom row : the top is . Bottom row : the top is .
Example 3. Put (the first Virahāṅka numbers) in the bottom row. The middle row is and the top is , so every brick is a Virahāṅka number. Now try : the next row is , then , and the top is . Again every brick is one of them, and the top is the th term. In general, a pyramid built on the first terms is full of Virahāṅka numbers with at the top, simply because adding two neighbouring terms gives the next one.

Practice
- Write the algebra for: think of a number, add , triple, subtract , divide by . What comes out? Change one step so that the answer is always .
- Design a five-step trick whose answer is always , and test it with and .
- Using the date trick above, find the dates behind the results , and .
- One version of the date trick uses at step 2 and at step 4. What must you subtract at the end?
- Fill the pyramid with bottom row . Then fill the pyramid with top , bottom-left and bottom-right .
- Without building them, give the top of a pyramid with bottom row , and of one with bottom row .
- A three-row pyramid has top and bottom row . Find .
- Put the first five Virahāṅka numbers in the bottom row. What is at the top, and which term of the sequence is it?
Answers
Show answers
- , so you get back the number you started with. For a constant : think of , add , double, subtract , halve, and the result is .
- For example: think of , double, add , halve, subtract , giving . Check with : ✓; with : ✓.
- ; ; .
- , so subtract .
- Middle ; top . For the second, the middle row is , ; then , so and the middle row is .
- . .
- Top , so and the bottom row is .
- The rows are ; then ; then ; and the top is . That is the th term ( with , ).