One small line can be enough to change an outcome. Even so, you have to know where to place it—and which other destination it will alter. In an amidakuji, tracing paths does not merely create a game of surprise: it also lets you construct a very precise problem of intervening in a diagram.
Gakken describes a single-line addition challenge in its activity devoted to amidakuji. We will examine diagrams constructed for this article, without using its illustrations or solutions.
Receive the “Pantheon of 28 Legendary Chefs” Dossier (Free A4 PDF) + 5 Audio Stories
Instant complimentary access to our illustrated gastronomic & historical dossier, plus 5 DRM-free MP3 audio chronicles.
The Diagram and the Names Are Not Read the Same Way
We draw vertical columns and horizontal rungs between neighboring columns, all at distinct heights. A path moves downward, crossing every rung it meets. The added rung will sit at a different height; starts and finishes are numbered separately from left to right.
Take five columns and four rungs. From top to bottom, they connect columns 1–2, then 2–3, then 3–4, then 4–5. We will write this sequence as [1, 2, 3, 4], each number indicating the left column of the rung. A start label travels; a column number stays in place.
At the bottom of this diagram, the labels read [2, 3, 4, 5, 1]. Start 2 arrives in the first column, start 3 in the second, and so on. Start 1 ends at finish 5.
Our first goal will be to guide start 1 to finish 3. In the initial diagram, that finish belongs to start 4.
Bringing Two Half-Paths Together
Instead of testing a new rung in every gap of the diagram, let us trace two paths on the unchanged diagram. The first descends from the chosen start. The second climbs upward from the desired finish, traversing the rungs in reverse order. To compare their positions, we pause between two successive heights. Interval zero precedes all existing rungs.
The two paths then face the same horizontal cut, but from opposite sides. The upper one tells us where the person we want to guide currently sits. The lower one tells us which column would allow them to continue to their target. We are not trying to make that person walk backward physically. Climbing upward serves only to locate, from the target, the stretch of path they would need.
If those two positions are adjacent, a new rung joins them. The path coming from above arrives at one end, crosses over, and then follows the exact portion leading to the target. The rungs below have not moved, so we already know that continuation. Adjacency of the two positions is a sufficient condition here, not merely a promising hint.
Why is it also necessary? Suppose an addition succeeds when the target was not previously reached. The new rung must be met by the descending path: otherwise, that path would not change. After crossing, its continuation must be the half-path leading to the desired finish. At that height, the start and that continuation therefore occupy the two ends of the same rung. Since a rung connects neighboring columns, the two positions had to be adjacent at that cut.
This reasoning also determines what we must compare. The distance between the names written at the top will not do; neither will the distance between the finishes at the very bottom. What we need is the distance between two current positions, recorded at the same level. A distant start may have drifted into a nearby column. A distant finish, for its part, may be reachable via a continuation passing right next door.
This criterion assumes that the initial finish needs to change. Two equal positions do not offer another chance to join them. They would mean the original path already connects the two requested ends—a situation we have set aside.
A Bridge Between Columns 3 and 4 Can Swap Starts 1 and 4
Return to the five columns and four rungs [1, 2, 3, 4]. Following start 1, its successive positions at intervals zero, one, two, three, and four are 1, 2, 3, 4, 5. Each time, it meets the next rung. This record keeps the name 1 for the person being tracked, even when they occupy the third or fourth column.
Now climb upward from finish 3. The last rung, between 4 and 5, does not affect it. The preceding one, between 3 and 4, shifts it from column 3 to column 4. The first two rungs no longer move this path. Ordering these observations from top to bottom, we get 4, 4, 4, 3, 3 at the same five intervals.
Comparison proceeds term by term. At the start, positions 1 and 4 are too far apart. After the first rung, they are 2 and 4. After the second, however, 3 and 4 are adjacent. We can therefore connect those columns before meeting the third original rung. Start 1 crosses our added rung to column 4; the third original rung then brings it back to column 3. The last rung does not pull it away: the requested finish is reached.
Placing the rung after the third original rung works as well. The positions there are 4 and 3; the new rung connects them in the opposite direction of travel. In both cases, the complete sequence of rung numbers reads [1, 2, 3, 3, 4]. The two interventions sit differently relative to the third preexisting rung, yet they do not yield two different permutations.
Before: [1, 2, 3, 4]
After: [1, 2, 3, 3, 4]
Diagrams constructed for this article.
Even When All Columns Are Connected, an Addition Can Still Be Impossible
Change the request without touching the initial diagram: start 2 must now reach finish 4. Its descent occupies positions 2, 1, 1, 1, 1 in turn. The first rung carries it to the left; none of the subsequent rungs ever touches its column.
Climbing upward from finish 4 yields, ordered from top to bottom, 5, 5, 5, 5, 4. The gaps between the two records are therefore 3, 4, 4, 4, 3. None equals one. This request has no solution with the single allowed addition.
Yet the diagram contains a rung in each of the four spaces between columns. It would be misleading to conclude that every correction must be possible. That observation concerns contacts present across the diagram as a whole. Our request demands something else: finding the two specific paths side by side at the same height. You cannot piece together proximities encountered at different moments as if they already formed the two ends of a new rung.
The finality of this refusal comes from full coverage of the allowed heights. Between two existing rungs, the positions of both paths do not change. Sliding the new rung up or down within that interval therefore creates no new pair of columns. With four rungs, there are five intervals to inspect, including before the first and after the last. All five have been checked; no extra placement hides along the vertical segments.
Start 2 to finish 4: no bridge
Diagrams constructed for this article.
The Other Finish Is Not Up for Choice
Return to the feasible request: start 1 to finish 3. At the chosen cut, the new rung is crossed by two paths. The path from start 1 joins the continuation that belonged to start 4. Conversely, start 4 receives the continuation that belonged to start 1. It therefore ends at finish 5. All other paths pass through the same lower section without having switched columns at that cut.
We can check this on the final list of labels: [2, 3, 1, 5, 4]. The finishes of starts 2, 3, and 5 remain 1, 2, and 4 respectively. Only starts 1 and 4 exchange their previous outcomes, 5 and 3. The small rung between columns 3 and 4 therefore did not swap the starts bearing those two numbers. It swapped whichever starts happened to be there.
That partner is forced the moment you choose the new finish for start 1. Finish 3 had a single original path; you cannot take its continuation without meeting that path. Searching for another valid interval would not let you pick a third partner whose old destination suited you better instead. Every successful addition must still join that same continuation toward 3.
Even when several heights work, the resulting distribution of finishes is fixed. We may choose among those placements for their position in the diagram, yet none of them preserves start 4’s original finish.
Two Wishes Can Be Compatible on Paper and Impossible in the Diagram
If the request adds “start 4 must finish at 5,” it confirms the exact swap already required. The same placement satisfies both wishes; there is no need to reserve a second rung for the second sentence. If instead it asks to keep start 4 at its old finish 3, it contradicts the first goal. Two people cannot both receive the sole continuation leading to that finish.
For a start outside the pair, the check is different. Asking for start 2 to stay at finish 1 is compatible: that assignment was untouched. Asking for it to move to finish 4 is not, since that would require an additional change. Both checks use the same already-determined distribution, without hunting for a new diagram for each wish appended to the order.
An important distinction remains, however. In our impossible request—start 2 to finish 4—one could write a completely consistent distribution that simply swaps the old outcomes of starts 2 and 5. In start order, the destinations would become [5, 4, 2, 3, 1]. Every finish appears exactly once. The consistency of that list still does not grant it an insertion spot: the two corresponding profiles are never adjacent.
The second check does not replace the first: a tidy final list can lack any realization in the given diagram. Nor does the first replace the second: a feasible bridge can block another assignment explicitly requested.
When the Destination Must Stay the Same
The previous regime sought to alter a finish. Now pose a different exercise: the finish is already satisfactory, yet we still require adding one rung. That obligation is our own variant; Aizu accepts an already-correct finish with no addition. We want to know which placements leave that path protected.
This time, the downward and upward paths coincide at every interval. Their distance will never equal one. Applying the previous test mechanically would therefore produce a misleading refusal: we are no longer looking for a bridge. We must find a spot where the new rung does not touch the path to be preserved.
That absence of contact is sufficient: the protected path follows the exact same segments all the way down. It is also necessary. If the rung touches it, it takes the continuation of the other path present at that cut. Yet those two continuations lead to different finishes. It therefore cannot keep its destination by crossing the rung, even if that crossing later seems to bring it closer to its old column. What matters is the identity of the continuation, not a positional resemblance somewhere else.
Let us count the placements that avoid the path. With n columns, there are n minus one gaps between neighbors at each interval. If the occupied column is an outer edge, only one gap touches it: n minus two remain available without touching it. If it is an interior column, the two gaps flanking it touch it: n minus three remain. We use its current column, not its starting number.
For m existing rungs, trace the m plus one intervals and call e the number of intervals where the path sits on an outer edge. Starting from n minus three possibilities per interval gives a common baseline; each edge visit adds one. The total is therefore (m + 1)(n − 3) + e, for n at least two. We are counting placements identified by interval and gap, without claiming they all produce different rung sequences or permutations.
In our five-column diagram, start 1 already ends at 5. Its profile 1, 2, 3, 4, 5 sits on an edge twice. The non-touching options are successively 3, 2, 2, 2, 3, totaling twelve. For start 3, which already ends at 2, the profile is 3, 3, 2, 2, 2: never on an edge, it leaves two safe gaps per interval, totaling ten. The same diagram thus offers different numbers of placements depending on which path you protect.
The obligation to act can even make the new exercise impossible. On three columns with no rungs, the middle start already reaches the middle finish. Both available gaps touch that path; no addition can leave it at its finish. With two columns, the same holds for any initial diagram: the sole gap necessarily touches the protected path. In the formula, every interval then lies on an edge; e equals m plus one and cancels the negative term n minus three, yielding zero. There is no interior column carrying a negative number of options.
Keep 1 → 5
Keep 3 → 2
Diagrams constructed for this article.
Correcting a finish and preserving it under a mandatory addition thus call for two different checks. The first looks for a meeting with a chosen continuation; the second forbids touching the one you already hold. What they share is the horizontal cut of the diagram, where you check what the new gap would actually do to the path in question.
Constructed Paths, Not a Guarantee of a Fair Draw
In the public abstract of his 2016 paper, Kentaro Katamachi presents work on counting amidakuji associated with permutations. From that abstract alone, we do not know the exact restrictions of the class he enumerates. Our search for a single addition in a fixed diagram does not yield the results of that paper.
Sources and Calculations
Aizu Online Judge, Problem 1665, Amidakuji: full text statement read; illustrations not examined.
Kentaro Katamachi, Efficient Counting of All Ladder Lotteries, IEICE, 2016: public listing and abstract read; full article not consulted.
Gakken, Activity M21018: editorial description read; worksheet, guide, and images not consulted. The proofs and numerical examples in this dossier are pedagogical constructions, with no mathematical discovery claimed and no physical trial observed.
