The inventor researched a puzzle while explored a heartfelt letter in a library of ancient books.