Superpermutation Almanac

n = 7

W-0013

A superpermutation on 7 symbols, found by Bogdan Coanda. It beat the previous record, W-0010, by 1 letter, and was the record for n = 7 from Feb 1 until Mar 2, 2019, when W-0014 was 1 letter shorter.

Length
5,907
Repeated occurrences
0
Announced
Feb 1, 2019
Begins 012345601234506123450162345012634501236450123465012340561234051623405126340512364051234605123406512340156234015263401523…

Windows

5,901windows of 7 consecutive letters
=5,040distinct permutations, all 7! of them
+0repeated occurrences of a permutation
+861windows that are not permutations

How it was found

Posted by 'Charlie Vane' in a comment on Matt Parker's YouTube video; Egan's page identifies the poster as Bogdan Coanda, who described his search algorithm in the group on 2019-02-02.

Checking

ProgramSourceResultTime
permcheckc46d3654all 5,040 permutations appearunder 1 s
literal_checkf4687121agrees on coverageunder 1 s
SHA-2566efe223792e22373d98170c9a9e91342e7cd32559dddee68963758c322302e6e Compilerg++ (Debian 14.2.0-19) 14.2.0

Download

Download Detour (.detour) 308 bytes, or 5.9 kB decoded

Download text (.txt) 5.9 kB

Decode to text

# check it yourself
detour decode W-0013.detour - | tr -d '\n' | shasum -a 256
tar xzf checkers-rs-source.tar.gz && cd checkers-rs && cargo build --release --locked
./target/release/classcheck 7 ../W-0013.detour 5907
./target/release/bitmapcheck 7 ../W-0013.detour 5907
./target/release/wordhash 7 ../W-0013.detour 5907

Decoding needs detour; see the Detour format for how to build and install it. The checkers are in checkers-rs-source.tar.gz, which needs Rust 1.89 or later; each one decodes the file itself, so the word is never written out.

The file's header gives n = 7 and sync exponent 0. The file has 724 tokens: 1 START, 1 literal of 1 byte in all, and 722 deviations. Deviations by weight, from 1 to 7: 0 · 722 · 0 · 0 · 0 · 0 · 0.