English

Star-tree token swaps

Return labelled tokens to their homes using only edge swaps.

Logic & rule checking

Players
2–3 per group
Time
15–25 minutes
Materials
Five vertex labels and five matching paper tokens.

Prepare

Draw centre O connected to leaves A,B,C,D, with no leaf-to-leaf edges. Put exactly one token on each vertex. Tokens carry the same five labels as the homes. A move swaps the tokens on the two ends of one drawn edge; nothing moves into an empty space.

Follow the rule

Start with token B at A, A at B, C at C, D at D and O at O. Record the chosen edge and the entire new placement after each swap. A direct A–B swap is illegal even when the tokens want each other's homes.

Check each step

Use O–A, O–B, O–A. The centre temporarily gives up its correct token to route the two misplaced leaf tokens. Finishing means all five labels match their homes, including O. A solved centre is not permanently locked.

Worked example

For a second start, use B,A,D,C,O at homes A,B,C,D,O. One solution uses O–A,O–B,O–A,O–C,O–D,O–C. Keep the original edge list throughout; passing a token across the centre is two swaps, not one long jump.

Finish and adapt

Count legal moves and compare complete logs, not just final pictures. The host lists valid solutions; this page does not assert a general shortest-swap algorithm. Use larger paper tokens instead of small loose pieces and let one person dictate swaps while another checks the edge constraint.

Purpose, observation and provenance

Within this activity: Return labelled tokens to their homes using only edge swaps.

Ask why temporarily moving a correct token can be necessary under the edge restriction.

Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.

Yamanaka et al. — Swapping Labeled Tokens on Graphs — Authors define adjacent-vertex token exchanges; our star and two start states are separately chosen.

Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.

Printable materials

Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.

Star-tree token swaps · Player materials

Before you start

Draw centre O connected to leaves A,B,C,D, with no leaf-to-leaf edges. Put exactly one token on each vertex. Tokens carry the same five labels as the homes. A move swaps the tokens on the two ends of one drawn edge; nothing moves into an empty space.

Start with token B at A, A at B, C at C, D at D and O at O. Record the chosen edge and the entire new placement after each swap. A direct A–B swap is illegal even when the tokens want each other's homes.

OABCD
HomeABCDO
Start 1BACDO
Start 2BADCO
Swap edgeA / B / C / D / O after
________________
________________
________________
________________
________________
________________

Star-tree token swaps · Host key — keep separate

First start solved by OA,OB,OA. Second by OA,OB,OA,OC,OD,OC; centre returns O.

Run and audit

Draw centre O connected to leaves A,B,C,D, with no leaf-to-leaf edges. Put exactly one token on each vertex. Tokens carry the same five labels as the homes. A move swaps the tokens on the two ends of one drawn edge; nothing moves into an empty space.

Start with token B at A, A at B, C at C, D at D and O at O. Record the chosen edge and the entire new placement after each swap. A direct A–B swap is illegal even when the tokens want each other's homes.

Use O–A, O–B, O–A. The centre temporarily gives up its correct token to route the two misplaced leaf tokens. Finishing means all five labels match their homes, including O. A solved centre is not permanently locked.

For a second start, use B,A,D,C,O at homes A,B,C,D,O. One solution uses O–A,O–B,O–A,O–C,O–D,O–C. Keep the original edge list throughout; passing a token across the centre is two swaps, not one long jump.

Count legal moves and compare complete logs, not just final pictures. The host lists valid solutions; this page does not assert a general shortest-swap algorithm. Use larger paper tokens instead of small loose pieces and let one person dictate swaps while another checks the edge constraint.

Observe and support

Ask why temporarily moving a correct token can be necessary under the edge restriction.

Use large paper marks or a scribe when needed. A valid example is not a uniqueness or long-term learning claim.

Related activities

Activity library · Cyclic row-column shifts