Pum-Num Puzzle

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Object: Order the given numbered tokens by pushing and pulling them around.


Red tokens can push and pull other tokens. Green tokens can only push other tokens. Blue tokens can only pull other tokens. No token can move alone.


Contributed by: Karl Scherer (March 2011)
Open content licensed under CC BY-NC-SA




The object of this game is to order the given nine numbered tokens in a 3×3 square at the center such that the numbers increase from left to right and from top to bottom. Some of the challenges use more than nine numbers and the associated target square is then 4×4 or 5×5.


There are red, green, and blue tokens.

A red token can push or pull one other token. If both a push and a pull are available at the same time for a red token, only the push will happen.

A green token can only push one other token.

A blue token can only pull one other token.

No token can move alone.

In a push or pull, the token controlled by the mouse can only move one unit at any time.

To move a token, drag it to an empty adjacent square.

The "move history" setter bar lets you return to the start, take back a move, go forward one move, or jump to the last move recorded.

The length of the shortest known solution is displayed at the left border. (All solutions were found by hand.) Can you match or even beat it?

Win messages

If you solve the puzzle in more moves than the minimum displayed, you get a "Well done!" message at the left border.

If you solve the puzzle in the minimum number of moves or less, you get an "Excellent!" message.


This author published this game as the Zillions "Pum-Num", which has solutions attached.

Please note that (in contrast to this Demonstration) the Zillions game lets you move pieces more than one unit; hence the minimum number of moves shown there are different from the ones here.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.