Elim Puzzle

You are given a square board (4×4, 6×6, or 8×8) with numbers as tokens. The sum of the absolute value of all the tokens is the token value count, which is shown on the left.
Select a row by clicking one of the arrows. The arrows for the other rows change to plus and minus signs. Click one of those signs at the end of another row . Then is replaced by or , according to the sign you clicked. Columns act in a similar way. Zero is not displayed.
The goal is to reduce the token value count as much as possible. Even for the smallest board (4×4) the puzzle is surprisingly hard to solve.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The author found the target amounts for setups 1, 2, and 3 of boards 4×4 and 6×6 by hand, so you may be able to improve on them.
The best target amounts for the three 8×8 setups are not known (see also the description of the control "setup" below).
"board size": Selects the size of the board (4×4, 6×6, or 8×8).
"setup": There are three challenges with fixed setups for each board size. The fourth setup has an empty board. Click one of the corner positions to randomize the setup, or click board positions repeatedly to manually set up the board. Once you start moves you can no longer change the setup.
"colored": Selects whether you want the tokens colored or white only.
"move": Displays the number of the current move and also the total amount of moves.
"<<", "< 10", "<" and ">", "> 10", ">>": These two setter bars let you select previous moves and so on.
"repeat move 1× / 10×": Repeats the last move once or ten times.
"save", "restore": Saves or restores the current sequence of moves.
"token value count": Shows the sum of the absolute values of all tokens on the board. Try to make this sum as small as possible.
"target": Shows the smallest token count the author has found. Can you get this count or even improve on it?
"solution": Solutions are stored only for the setups 1 to 3, which use the boards 4×4 and 6×6. Use the paging controls ("<<", "<", ">", ">>") to go through a solution move by move.
The Elim puzzle allows for other goals as well. For example, you can try to end with the smallest number of tokens on the board, independent of their value.
For the 6×6 board, this means that you try to end up with six tokens (or maybe even fewer). The third fixed setup for the 6×6 type allows such an ending with six tokens. Can you find it?
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+