Superpermutation Almanac

Back to n = 11

W-0131

A superpermutation on 11 symbols, found by Tholsh. It beat the previous record W-0086 by 5 letters and was the record on Nov 21, 2026. The next record W-0132 beat it by 2 letters.

Length
43,930,529
Repeated permutations
19,518
Received
Nov 21, 202600:41:30 UTC
Points earned
3.7336 × 10−3
Begins 0123456789A01234567890A12345678901A23456789012A34567890123A45678901234A56789012345A67890123456A78901234567A89012345678A9…

Windows

43,930,519windows of 11 consecutive letters
=39,916,800distinct permutations
+19,518repeated permutations
+3,994,201windows that are not permutations

Detours by weight

A step is the move from one permutation in the superpermutation to the next permutation in it, and its weight is the number of letters added in that move. A detour starts at a step that differs from the next step of the recursive construction, and ends at the first permutation after that whose next step has weight 1. The weight of a detour is the number of letters added in it. After each detour, we consider the recursive construction to begin again from scratch at the permutation where the detour ends.

WeightDetours
10
27
3107,792
4103
580
694
718
822
930
101
110

How it was found

From the submitter

From a Kraft-scored packet to the 43,930,529-symbol n=11 word

We start with one (7,2) packet, study its fiber ports, develop alternative selections, and lift them into a superpermutation on 0123456789A. Selection and arrangement are optimized together: a cheap packet helps only when its connections are cheap.

The original packet and the Kraft insight

Our starting packet is Halfar's n=11 (7,2) fiber block. It contains 56 cyclic classes of nine-symbol rows. In native notation, a row is x v: x selects a rotation of 012345678, while v controls whether the row is full (9), short (7), detached (0), or fragmented at another depth. The packet has charge Q=38, 14 detached classes, and one closed active row walk. Its port monodromy yields two walk trails, and the detached loops bring the total to T=16. Its literal completion covers 55,440 assigned permutations.

The Kraft layer exposes what Q+T=54 misses. We enumerate legal entry/exit ports, compute shortest suffix–prefix connector strings, build a trie, measure prefix conflicts and prefix-free Kraft mass, and inspect the continuation graph. The monodromy layer tells us which ports actually belong to the same completed walks. It exposes connection capacity: lower-charge packets can be worse when their exit states are incompatible. Kraft mass is a diagnostic, not a theorem giving the superpermutation's minimum completion cost.

Turning the packet into a selection

We search for new balanced 56-class packets using the same G_v row transitions. Each proposal must occupy every class once and pass incidence, slice-graph, and monodromy checks. We jointly evaluate charge, detached-chain packing, available boundary ports, and achievable min-plus join cost. Thus we retain several distinct families, including a low-charge packet with Q=22, T=30, a more connected alternative with Q=29, T=24, and the original Q=38, T=16 packet. Neither fewer trails nor lower charge alone determines the winner.

The global construction contains 48 complete fibers of the (7,2) type. Each is a relabeled copy of the same occupation problem. These are 48 selected fibers, not all 720 possible old-letter cyclic orders. We map our tested source packets onto each target fiber by an old-letter cyclic shift and, when useful, an exchange of 7 and 8. This changes rows and port states without changing the target's 55,440 permutations. We also retain two larger outside-core sections. The 48 selectable fibers plus two cores cover all 40,320 native classes.

Selecting and arranging in the same search

For every target fiber, a candidate state specifies the source packet, seven-letter relabeling phase, optional 7↔8 swap, literal length, and exact ten-letter head and tail. We search placements of the 50 units while the two large cores remain anchored. Every swap, insertion, or section move triggers fresh optimization of all phases and packet states; none are frozen before placement.

For literal units a,b, let ov(a,b) be their greatest matching suffix–prefix overlap of length 0 through 10. For a fixed order, we use the min-plus recurrence

DP[i,s] = |w(i,s)| + min_t (DP[i-1,t] - ov(w(i-1,t), w(i,s))).

Backpointers recover the chosen packets, relabelings, and phases. The overlap cap of ten preserves all existing length-eleven windows inside each complete unit. The DP is exact for each candidate order; the order search is heuristic. Our objective is the actual constructed length, L = L_cyclic + J_connection, not the isolated packet's Q+T.

The resulting full selection has Q=20,089, 1,156 detached loops, 62 closed row walks, and 1,364 completed trails. Its cyclic contribution is 43,928,569 letters. Joint placement and phase selection pay only 1,960 more letters to connect the units, giving 43,930,529 symbols. We accept some additional cyclic charge because better fiber geometry saves more at the interfaces.

Literal verification

We relabel the chosen packets, order all 50 units, check their endpoints, and splice with exact overlaps. An independent sliding-window scan of the resulting word finds all 39,916,800 eleven-symbol permutations, with zero missing. The complete 40,320-row native selection is retained separately. This is a valid construction five symbols below Halfar's then-published 43,930,534 benchmark.

Download

Learn about the Detour file format

Download Detour (.detour) 6.8 kB, or 43.9 MB decoded