r/EndlessThread • Your friendly neighborhood moderator • Sep 25 '26

Endless Thread: The Haruhi problem

https://www.wbur.org/endlessthread/2026/09/25/haruhi-problem
9 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Virtual-Ducks Oct 02 '26

Let’s call our 3 episodes A, B, and C. If you want to watch every possible order of these 3 episodes, there are 6 possible combinations: ABC ACB BAC BCA CAB CBA The Naive Way (No Overlap) If you just sat down and watched every combination back-to-back, your watch history would look like this: ABC ACB BAC BCA CAB CBA You would have to watch 18 episodes total. The Haruhi Problem Way (Superpermutations) The math problem asks: How can we overlap the ends and beginnings of these combinations so we don't have to re-watch episodes unnecessarily? The mathematically shortest way to watch all 6 combinations is this exact sequence: ABCABACBA By watching just 9 episodes, you experience every single combination hidden inside the overlap. Look closely at the sequence: ABCabacba (Combination 1) aBCAbacba (Combination 4) abCABacba (Combination 5) abcaBACba (Combination 3) abcabACBa (Combination 2) abcabaCBA (Combination 6)

Note: it's not just the last and first episode overlaps, multiple episodes are also allowed to overlap.