Wonderful news – a long-standing cipher mystery (to be precise, a pair of them) has been broken!

Today I received a message from David Vierra announcing that he had broken Feynman Ciphers #2 and #3, and including a link to his blog post including all the technical details. He noted:

They both use the same method, which uses two monoalphabetic substitutions and alternates between them after each word. Each word which has an even number of letters is written in reverse. Cipher #2 is from A.E. Housman’s poem “Terence, This is Stupid Stuff”, and #3 is the starting words of Feynman’s own paper on “Atomic Theory of the lambda Transition in Helium”.

So, let’s have a closer look:

Feynman Cipher #2

Here’s the ciphertext:

XUKEXWSLZJUAXUNKIGWFSOZRAWURORKXAOSLHROB
XBTKCMUWDVPTFBLMKEFVWMUXTVTWUIDDJVZKBRMC
WOIWYDXMLUFPVSHAGSVWUFWORCWUIDUJCNVTTBER
TUNOJUZHVTWKORSVRZSVVFSQXOCMUWPYTRLGBMCY
POJCLRIYTVFCCMUWUFPOXCNMCIWMSKPXEDLYIQKD
JWIWCJUMVRCJUMVRKXWURKPSEEIWZVXULEIOETOO
FWKBIUXPXUGOWLFPWUSCH

To decipher this, use one of the two following cipher alphabets:

Plain:       ABCDEFGHIJKLMNOPQRSTUVWXYZ
Alphabet 1:  MANYREQUS.HVBCID.OLWGZX.K. 
Alphabet 2:  JHAZTENYXMLOCUFBQVKPSGW.D.

According to David’s blog post:

The first word of each sentence (or line of poetry) is always enciphered using Alphabet 1, which leads to occasional cases of Alphabet 1 being used for two words in a row. Words having an even number of letters are written in reverse.

OK, so let’s try the first line as a worked example:

XUK — EX — WSL — ZJUAXUN — KIG — WFSOZ — RA

[1] WHY — [2] FI — [1] TIS — [2] DANCING — [1] YOU — [2] WOULD — [1] EB

Note that the two even-length words here are FI (if) and EB (be), which is why they’re reversed. Continue with this process for the rest of Feynman Cipher #2 and you get a section from A. E. Housman’s “Terence, This is Stupid Stuff” (1896):

Why, if ‘tis dancing you would be,
There is [sic] brisker pipes than poetry.
Say, for what were hop-yards meant,
Or why was Burton built on Trent?
Oh many a peer of England brews
Livelier liquor than the Muse,
And malt does more than Milton can
To justify God’s ways to man.
Ale, man, ale’s the stuff to drink
For fellows whom it hurts to think

Feynman Cipher #3

The ciphertext here looks like this:

WURVFXGJYTHEIZXSQXOBGSVRUDOOJXATBKTARVIX
PYTMYABMVUFXPXKUJVPLSDVTGNGOSIGLWURPKFCV
GELLRNNGLPYTFVTPXAJOSCWRODORWNWSICLFKEMO
TGJYCRRAOJVNTODVMNSQIVICRBICRUDCSKXYPDMD
ROJUZICRVFWXIFPXIVVIEPYTDOIAVRBOOXWRAKPS
ZXTZKVROSWCRCFVEESOLWKTOBXAUXVB

As David Vierra discovered, this was enciphered using exactly the same method and alphabets as #2, yielding cleartext from near the top of Richard Feynman’s 1953 paper on liquid helium:

The behavior of liquid helium, especially below the lambda transition, is very curious. The most successful theoretical interpretations so far have been largely phenomenological. In this paper and one or two to follow, the problem will be studied entirely from first principles.

So… Who Was The Encipherer, Then?

The cipher system itself is a pretty sadistic combination of substitution (multiple cipher alphabets) and transposition (reversing even-length words), so you can bet that the person who devised it was chortling really hard into their hand when they passed it to Richard Feynman.

Also, Feynman only started working with liquid helium once he moved to Caltech (and started to get his physics mojo back somewhat, after a very difficult period in his life): and I further think it would be unlikely that the encipherer would have enciphered this prior to 1953.

The person who originally posted the set of three ciphers to Reddit (Chris Cole) had noted:

When I was a graduate student at Caltech, Professor Feynman showed me three samples of code that he had been challenged with by a fellow scientist at Los Alamos and which he had not been able to crack.

People had generally parsed this as “had been challenged with by a fellow scientist [while both were] at Los Alamos” in the 1940s, but now we know that the third challenge cipher of this set could not have been made before 1953, I think we should probably instead parse it as “had [recently] been challenged with by a fellow scientist [who, like Feynman, had been] at Los Alamos“.

The two Olum ciphers (that were cracked by Paul Relkin, who also invested a lot of time trying to find the exact edition of Chaucer used as the plaintext for Feynman Cipher #1, which in fact Relkin found out in 2017 had been from one transcribed in the 1930s by F. N. Robinson) were from Paul Olum to Richard Feynman: Feynman’s notes on these ciphers are in his Caltech papers.

With part of Feynman’s 1953 paper as the plaintext to cipher #3 and its wrapper story handed down by Chris Cole, there seems little doubt that this is indeed a set of challenge ciphers targeted specifically at Feynman, just as Feynman had said to Cole. By way of contrast, it seems likely that the original Olum ciphers (from the August 1943 date of the plaintext) were made between August 1943 and 1945.

But was it Paul Olum, as I speculated back in 2021, who was also behind this other set of three ciphers? The problem is that the Chaucer link in Feynman Cipher #1 seems not to point directly at Olum (because his son said he had a different edition of Chaucer); the Housman poem in #2 doesn’t obviously point anywhere; while the 1953 Feynman quotation in #3 points only at the recipient, not at the sender.

My belief is that the Housman poem was probably discussed by Feynman and the encipherer while at Los Alamos, making the reference to it more of a private joke than anything public we can use as a reference.

Ultimately, I think it’s safe to say that Paul Olum remains our strongest candidate, even though we lack evidence. Though… if one day someone happens to look at Olum’s Cornell papers from (say) 1953-1954 and notices a mention of liquid helium and some cipher-like writing, perhaps we will find our smoking gun. Fingers crossed!

Finally, my hearty congratulations once again to David Vierra for his excellent work cracking #2 and #3, well done!

10 thoughts on “Feynman Ciphers #2 and #3 broken!

  1. David Vierra on May 29, 2023 at 2:28 am said:

    Thanks for the feature, Nick!

    By solving one mystery, we’ve only uncovered another one. Isn’t that how it always goes?

  2. Congratulations David Vierra! The trick was that it was Housman! If it had been Henry Lawson, perhaps Sheoaks that Sigh When the Wind is Still, our Johnno would have been there in a flash!

  3. David Vierra: it is surely an epistemological truism that a mystery solved is also a mystery replaced by its successor mystery. 🙂

    But at the same time, some mysteries are very much larger than others, and I think that you solved a particularly large one. 👍

  4. John Sanders on May 29, 2023 at 11:02 am said:

    Jo

    Requiem – Three versions of the last stanza including Stephenson’s original.
    Lawson wrote his very own bushman’s requiem ‘The Last Review’ in 1904.

    Home is the Sailor, home from sea, and the hunter home from the hill. – R. L. S
    Home is the Sailor from the sea, the hunter from the Hill. – A. E. H
    Home be the sailor, home from Sea, and hunter home from the hill. – J. E. S

  5. Jarl on May 29, 2023 at 12:09 pm said:

    Congratulations David,

    Very impressive achievement!

  6. Hämis Salainen on May 29, 2023 at 2:15 pm said:

    Great job David, I knew you had it in you!
    Can’t wait for what other ciphers such a bright mind as yours will solve.

    From your old pal
    HS

  7. D.N.O'Donovan on May 29, 2023 at 3:04 pm said:

    As a non-cryptologist interested in the problem of why a fifteenth-century text appears to have a cipher that modern programs cannot crack, this has been most enlightening.

    Apart perhaps from reversed-order (??) the methods are so simple and so early attested, yet they confounded all earlier efforts to break the cipher.

    Thank you both- I found Nick’s post, and David Vierra’s angle of attack, completely fascinating.

  8. Poppins on May 29, 2023 at 8:54 pm said:

    David Vierra, I reckon that’s just remarkable, good on ya ….. to solve the unsolved must be positively thrilling.
    Thanks for letting us know about this Nick.

  9. Very interesting, and congratulations to the solver!

    It occurs to me that that the key phrase for the first alphabet could be extended to:
    “Many requests have been received for …” , though there could of course be other completions. The second one appears to start with a given name, but remains a mystery to me so far.

  10. Paul Relkin on June 1, 2023 at 6:32 am said:

    I want to congratulate David Vierra for his spectacular work solving Feynman 2 and Feynman 3! The solution he found is not only a remarkable achievement for cryptography, but also contains some interesting twists.

    For example, the message of Feynman 3 contradicts the assumption that the Feynman Ciphers originated at Los Alamos during World War II. In 1987, Chris Cole reported that the author of the Feynman Ciphers was one of the scientists who worked with Feynman during his time at Los Alamos. Feynman 3 is a direct quote from a manuscript on liquid helium that Feynman published while at Caltech in 1953, years after he left the Manhattan Project. This makes it evident that the ciphers were written after 1953.

    In 2017, I reported that idiosyncratic spellings in the Middle English text in Feynman 1 could be used to trace the cipher to a specific transcription of The Canterbury Tales that was first published in 1933 and subsequently used in an anthology of British Poetry and Prose published in 1938. [1]

    After seeing David’s solution, I reexamined the British anthology and was pleased to see that it contains the Housman poem from Feynman 2 in addition to The Canterbury Tales from Feynman 1. While The Canterbury Tales appears at the beginning of Volume 1 (page 70) [2], the Housman poem is at the end of Volume 2 (page 962) [3]. Finding an owner of the 1938 edition of “British Poetry and Prose” among Feynman’s colleagues may prove useful in identifying the author of the ciphers, who still remains unknown.

    In the same 2017 post, I suggested that the source of Feynman 2 and 3 might be identified by matching the repeated sequences in the ciphertext with repeated words in the text of the British anthology. I looked back on my own analyses from 2017 and found that this approach could have been used to identify the Housman poem by matching the ciphertext sequence “CJUMVRCJUMVR” with “manalemanale” in the Housman poem, and matching the four-letter sequence “CMUW” with “than”, which occurs 3 times. I did not recognize the correct message at the time, nor did I come up with the clever idea to apply a dual alphabet or the other encryption techniques that David successfully deduced.

    1. https://ciphermysteries.com/2017/04/30/feynman-challenge-ciphers-geoffrey-chaucer

    2. https://archive.org/details/britishpoetrypro0000paul_h1d7

    3. https://archive.org/details/britishpoetrypro0002paul

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation