title: Implement a brute force algorithm to find three missing word from BIP39 seed
body: <p>I lost 3 middle words of my 24 words seed phrase for a nano ledger hardware wallet.</p>
  <p>As an example (not my real seed phrase)</p>
  <pre><code>pledge horror unfair category a.... xxxxxx a...... core abuse tenant crew captain insect angry again deposit detail similar arrest kind copy pony door brass
  </code></pre>
  <p>So I know the missing words in position 5 and 7 start with <code>a</code> and I don't have any clue for word number 6.</p>
  <p>I know for sure an ethereum public address that I used back in 2017, but I am not sure about my BTC address.</p>
  <p>I believe that cracking the seed phrase is doable, but as I am not a programmer (I have a beginner level in python for data science) I don't know how to do it.</p>
  <p>So far, I have explored:</p>
  <ul>
  <li><a href="https://github.com/gurnec/btcrecover" rel="nofollow noreferrer">BTCRecover</a> but it only handles one missing word and 3 typos</li>
  <li><a href="https://3rditeration.github.io/mnemonic-recovery/src/index.html" rel="nofollow noreferrer">Seed Savior</a> but it only handles 1 missing words</li>
  </ul>
  <p>Does anyone know how to solve this problem in a practical manner?
  I understand that the theoretical solution to this problem is trivial but I need to implement it, which is far from trivial for me.</p>