1. Home
  2. Explore
  3. Mathematics
  4. Unique Letter Word Puzzle

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Unique Letter Word Puzzle

Speaker 1Speaker 2

Unique Letter Word Puzzle

8:12
0:00-8:12
  1. Maria

    Hey Michael, I came across this fascinating word puzzle recently. It asks how many five-letter words you can find where, when combined, they don't have any letters repeated. It's quite a brain teaser, isn't it?

  2. Michael

    Oh, that sounds intriguing! So, like, if you have 'SQUIZ' and 'PANEL', they both have five unique letters, and there are no letters in common between 'SQUIZ' and 'PANEL'. Is that the idea? What's the goal here, to find as many as possible?

  3. Maria

    Exactly! The example even extends to three words, like 'SQUIZ', 'PANEL', and 'ROMAN'. The challenge is to see if you can do better, maybe find four or even five such words. It seems a bit obsessive, but also really engaging.

  4. Michael

    That's a fantastic challenge! It reminds me a bit of Wordle, where you're trying to guess words with unique letters. Was this puzzle inspired by Wordle by any chance? I can see the connection to the game's mechanics.

  5. Maria

    It was! Someone named Daniel sent in this problem to a podcast, framing it in terms of Wordle—how many guesses you can have before repeating letters. It's important to note, though, this isn't about Wordle strategy. It's more of a linguistic and combinatorial puzzle.

  6. Michael

    That makes sense. So, it's not about winning Wordle, but rather exploring the letter combinations. Given there are 26 letters in the alphabet, and we need five words of five letters each, that's 25 letters, leaving one spare. Sounds plausible on paper.

  7. Maria

    Right? And with five vowels, if each word is frugal and uses only one, it seems manageable. But here's where it gets complicated: how do you actually find these words? Most people would start brainstorming, but there's a more systematic approach.

  8. Michael

    You're hinting at computational power, aren't you? Instead of just thinking of words, you're suggesting checking all possible five-letter strings? That sounds like a massive undertaking, even with computers. How many strings are we talking about?

  9. Maria

    Well, if you consider all five-character strings, it's over 11 million. But many have duplicate letters. If we narrow it down to only those with five unique letters, it's still over 7 million, and most are nonsensical. We need actual English words.

  10. Michael

    So, you'd need a comprehensive list of English words. Where would you even get such a list? Is there a readily available database of all meaningful English words that you can just download and use for this kind of analysis?

  11. Maria

    I used a list I already had from a previous project, a typewriter video, which contained 370,105 meaningful words. That's a huge starting point. Then, the process involved a lot of filtering to get to the relevant words.

  12. Michael

    Okay, so you had the big list. What were the next steps to refine it for this specific puzzle? I imagine removing words that aren't five letters long is a given, but what else did you have to account for in your filtering process?

  13. Maria

    First, I removed words not exactly five letters, bringing the count down to 15,920. Then, I eliminated words with repeated letters, leaving 10,175. Finally, I removed anagrams, because we're looking for unique sets of letters, not just different arrangements.

  14. Michael

    That's a smart move to remove anagrams. So, after all that filtering, how many unique five-letter words with distinct letters were left? It must have significantly reduced the number you had to work with, but still a large pool, I imagine.

  15. Maria

    We were left with a mere 5,977 unique five-letter words, all with distinct letters and no anagram duplicates. Now, the challenge shifted to finding combinations of these words that satisfied the no-repeated-letters rule. And that's where the real computational hurdle appeared.

  16. Michael

    Right, because picking five words out of almost six thousand, and then checking all the letter combinations, sounds like it would explode combinatorially. How many combinations are we talking about, and how do you even begin to check them?

  17. Maria

    Exactly. 5,977 choose five is over 63 quadrillion combinations. Checking them all, even at a million per second, would take over 2,000 years. So, I couldn't just brute force it. I needed to be much smarter about the checking process.

  18. Michael

    Two thousand years is definitely not feasible for a personal project! So, how did you approach being 'smarter'? Did you develop a more efficient algorithm, or did you try to reduce the number of combinations you actually had to check from the outset?

  19. Maria

    I went for aggressive pruning. Instead of checking full sets of five words, I started with pairs. I checked every pair of words to see if they had 10 unique letters. If not, I could immediately discard any sets containing that pair.

  20. Michael

    That's a brilliant optimization! By cutting off branches early, you significantly reduce the search space. How many such valid pairs did you find after that initial pruning step, before moving on to larger combinations?

  21. Maria

    There were 3,213,696 pairs of words that each had 10 unique letters. From there, I took every valid pair and compared it to other valid pairs to see if they had 20 unique letters combined, and then tried to find a fifth word.

  22. Michael

    Even with that clever pruning, it sounds like a substantial computational task. How long did your computer end up running to find all the solutions? I'm curious about the actual processing time it required.

  23. Maria

    My laptop ran for over a month, churning through the possibilities. It was a long wait, but eventually, it finished. And the results were quite interesting, though not without their controversies, as we'll see.

  24. Michael

    Over a month! That's serious dedication. So, what was the grand total? How many sets of five words with 25 unique letters did your code ultimately identify after all that processing time? I'm on the edge of my seat!

  25. Maria

    It found 538 sets! I was incredibly excited. However, a massive 470 of them, 87.3%, all contained one specific word: 'FLDXT', pronounced 'fluid extract'. And that, Michael, caused some issues.

  26. Michael

    Ah, 'FLDXT'. I can see why that might raise some eyebrows. It doesn't immediately strike me as a common English word. Was it a valid word in your initial comprehensive list, or was it a slightly dubious inclusion that skewed the results?

  27. Maria

    My original word list was very generous, defining a word as any string of characters someone might use or type. So, 'FLDXT' was included. My co-host, Beck, was quite upset when I told her. Many people found it questionable.

  28. Michael

    That's fair. The definition of 'word' can be tricky. So, how did you decide which words were 'unambiguously' valid after this 'fluid extract' controversy? Did you have to introduce another layer of filtering based on common usage?

  29. Maria

    I used Google search results as a proxy for word validity. I wrote a script to Google every word from my solutions and record the number of results. This also helped with anagrams, picking the version with the most Google hits.

  30. Michael

    That's a clever way to gauge real-world usage! So, after removing 'FLDXT' and using Google rankings, what was the top-ranked set of five words? I'm curious to see what words made it through such rigorous filtering.

  31. Maria

    The top-ranking set using this method was 'VIBEX', 'GLYPH', 'MONTHS', 'DWARF', and 'JOCKS'. It's interesting, with 'VIBEX' having two vowels, and 'GLYPH' having none, it kind of balances out across the set.

  32. Michael

    Those are some pretty unique words! 'VIBEX' and 'GLYPH' especially stand out. But I can imagine 'MONTHS' might refer to a type of metal, which could be an obscure definition. Was there a more definitive source you found for 'word truth'?

  33. Maria

    There was! The ultimate arbiter of word truth was Wordle itself. The original Wordle code contained two lists: answer words and acceptable guess words. Combined, they form 12,972 acceptable words, which became my definitive list.

  34. Michael

    That's brilliant! Wordle's internal dictionary is the perfect benchmark for what constitutes an 'acceptable' word. So, after comparing all 538 sets to the official Wordle list, how many truly 'unambiguous' solutions did you find?

  35. Maria

    After all that, only one single solution had all five words validated by the almighty Wordle. It's a truly unique set, and it feels like a real achievement to have found it after such an exhaustive search.

  36. Michael

    Just one! That's incredible and makes the effort even more worthwhile. What are the five words in this solitary, perfectly valid solution that use 25 unique characters according to Wordle's own dictionary?

  37. Maria

    They are: 'FJORD', 'GUCKS', 'NYMPH', 'VIBEX', and 'WALTZ'. It's a fantastic combination, using 25 unique letters, with the letter 'Q' being the only one left over. A truly elegant solution, I think.

  38. Michael

    Wow, 'FJORD', 'GUCKS', 'NYMPH', 'VIBEX', and 'WALTZ'! Those are all real words, and they sound like a fascinating collection. That's an amazing result after all that work, and the 'Q' left over is a neat detail.

  39. Maria

    It was quite a journey. And just as an update, someone else, Benjamin, wrote code using graph theory that could find all these solutions in 15 minutes, what took my laptop a month. It's truly impressive how clever algorithms can optimize searches.

  40. Michael

    Fifteen minutes compared to a month! That's an incredible difference. Graph theory is definitely powerful for these kinds of combinatorial problems. It just goes to show the immense impact of efficient algorithms.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent