Keeping Records (solution)

by Kai Huang

For ease of reading, throughout this solution write-up, we’ve broken up the message strings into two equal-length parts.

Step 1:

Upon studying the given message (or string of letters, rather), you may notice there are some meaningful blocks of words hidden within: OCEANENG, OLDCOURSE, and NUMBER. These are highlighted below:

JHBXRJQDPKYGJBSHBGIGCHUMGOWHDHUMGIBJHLORKPCGWXORGJGURDHVPXUPSYTUVHDGJHXAZBTPVFXXCQGMMNLICOJJO
KSIXZMCBBHBOCEANENGNGCIGOYPTEOLDCOURSELPQDFZEOEBJASKFIBHIELDTIUGNUMBERTNDHIZWAWKEJHZQIAJZFXFU

The lengths of these blocks match the numbers in the first group of codes: “8mc 9mce 6sc,” giving confirmation that you’ve found the right blocks. Other substrings that may look meaningful do not match the given codes, and thus are mere coincidences. Furthermore, each code contains “m” or “s,” meaning that the associated block should have multiple words or a single word, respectively.

The clue OCEAN ENG OLD COURSE NUMBER clues the number 13, which in turn clues the fact that the Rot13 cipher was used to create this message. So decrypt the message using Rot13.

Cipher: JHBXRJQDPKYGJBSHBGIGCHUMGOWHDHUMGIBJHLORKPCGWXORGJGURDHVPXUPSYTUVHDGJHXAZBTPVFXXCQGMMNLICOJJO
        KSIXZMCBBHBOCEANENGNGCIGOYPTEOLDCOURSELPQDFZEOEBJASKFIBHIELDTIUGNUMBERTNDHIZWAWKEJHZQIAJZFXFU
Plain:  WUOKEWDQCXLTWOFUOTVTPUHZTBJUQUHZTVOWUYBEXCPTJKBETWTHEQUICKHCFLGHIUQTWUKNMOGCISKKPDTZZAYVPBWWB
        XFVKMZPOOUOBPRNARATATPVTBLCGRBYQPBHEFRYCDQSMRBROWNFXSVOUVRYQGVHTAHZOREGAQUVMJNJXRWUMDVNWMSKSH

Note: An online tool is available to do Rot13 decryption.

Step 2:

In the new message, there is once again a clue hidden within, where the lengths of the message blocks match the numbers given in the next group of codes provided: 8mk 7mke. These are highlighted below:

WUOKEWDQCXLTWOFUOTVTPUHZTBJUQUHZTVOWUYBEXCPTJKBETWTHEQUICKHCFLGHIUQTWUKNMOGCISKKPDTZZAYVPBWWB
XFVKMZPOOUOBPRNARATATPVTBLCGRBYQPBHEFRYCDQSMRBROWNFXSVOUVRYQGVHTAHZOREGAQUVMJNJXRWUMDVNWMSKSH

In this step, the codes contain a “k” for key as opposed to a “c” for cipher as in the previous step. This is because in the previous step, the clue was cluing the name of the cipher used (Rot13), whereas in this step, the clue is cluing the encryption key. Note there is no explicit clue for what cipher is used in this step. You need to deduce the cipher from the format of the key.

The clue THE QUICK BROWN FX clues the sentence “The quick brown fox jumps over the lazy dog,” which is the most well-known English pangram (sentence containing all 26 letters of the alphabet). Notice that “FX” is missing the “O” from the word FOX, hinting that the pangram should be used to provide a permutation of the 26 letters, only recording each letter the first time it appears in the pangram. The completed permutation is THEQUICKBROWNFXJMPSVLAZYDG. This permutation defines the cipher. Decrypt the message.

Cipher alphabet: THEQUICKBROWNFXJMPSVLAZYDG
Cipher: WUOKEWDQCXLTWOFUOTVTPUHZTBJUQUHZTVOWUYBEXCPTJKBETWTHEQUICKHCFLGHIUQTWUKNMOGCISKKPDTZZAYVPBWWB
        XFVKMZPOOUOBPRNARATATPVTBLCGRBYQPBHEFRYCDQSMRBROWNFXSVOUVRYQGVHTAHZOREGAQUVMJNJXRWUMDVNWMSKSH
Plain:  LEKHCLYDGOUALKNEKATAREBWAIPEDEBWATKLEXICOGRAPHICALABCDEFGHBGNUZBFEDALEHMQKZGFSHHRYAWWVXTRILLI
        ONTHQWRKKEKIRJMVJVAVARTAIUGZJIXDRIBCNJXGYDSQJIJKLMNOSTKETJXDZTBAVBWKJCZVDETQPMPOJLEQYTMLQSHSB

Note: An online tool is available.

Step 3:

Once again, find the message blocks matching the next given group of codes: 15sk 10ske. (Ignore the “e” in some codes for now, since it’s for extraction of the final answer at the end of the puzzle.)

LEKHCLYDGOUALKNEKATAREBWAIPEDEBWATKLEXICOGRAPHICALABCDEFGHBGNUZBFEDALEHMQKZGFSHHRYAWWVXTRILLI
ONTHQWRKKEKIRJMVJVAVARTAIUGZJIXDRIBCNJXGYDSQJIJKLMNOSTKETJXDZTBAVBWKJCZVDETQPMPOJLEQYTMLQSHSB

The clue LEXICOGRAPHICAL TRILLIONTH clues that this message was encrypted with another permutation of the alphabet. This time, it is the trillionth permutation in the lexicographical ordering of the permutations.

In order to find the trillionth permutation, we need to consider how many full iterations of each letter position have already happened in the previous 999,999,999,999 permutations.

First note that 999,999,999,999 is greater than 14! but less than 15!, which means the trillionth permutation doesn’t yet get through a full cycling of the last 15 letters (yes, we could have used the septillionth permutation instead, but we’re not that mean). So the first 11 letters of the alphabet are still the same. The 12th letter (i.e. the first one of the last 15 letters) is the first letter that changes.

First 11 letters (unchanged): ABCDEFGHIJK
Last 15 letters (reordered):  LMNOPQRSTUVWXYZ

Since 999,999,999,999 = 14! * 11.4707456, we know that the last 14 letters have gone through 11 full cycles, which means we’re currently in the 12th cycling of the last 14 letters. This means the 12th letter (i.e. the first one of the last 15 letters) is currently on its 12th possible value in the lexicographical ordering of the last 15 letters. The 12th possible value in the last 15 letters is the letter W. Thus we’ve deduced the first portion of the trillionth permutation up to the 12th letter.

First portion of trillionth permutation: ABCDEFGHIJKW...

We can continue in this manner to deduce the full trillionth permutation. Specifically, the number 999,999,999,999 is broken down as follows:

11 * 14! + 6 * 13! + 7 * 12! + 8 * 11! + 1 * 10! + 1 * 9! + 8 * 8! + 2 * 7! + 2 * 6! + 5 * 5! + 1 * 4! + 2 * 3! + 1 * 2! + 1 * 1!

So we want the 12th possible value of the 12th letter, followed by the 7th possible value (out of the remaining letters) of the 13th letter, and so forth. The full trillionth permutation is then

Trillionth permutation: ABCDEFGHIJKWRTVMNZPQYOUSXL

Decrypt the message using this permutation.

Cipher alphabet: ABCDEFGHIJKWRTVMNZPQYOUSXL
Cipher: LEKHCLYDGOUALKNEKATAREBWAIPEDEBWATKLEXICOGRAPHICALABCDEFGHBGNUZBFEDALEHMQKZGFSHHRYAWWVXTRILLI
        ONTHQWRKKEKIRJMVJVAVARTAIUGZJIXDRIBCNJXGYDSQJIJKLMNOSTKETJXDZTBAVBWKJCZVDETQPMPOJLEQYTMLQSHSB
Plain:  ZEKHCZUDGVWAZKQEKANAMEBLAISEDEBLANKZEYICVGMASHICAZABCDEFGHBGQWRBFEDAZEHPTKRGFXHHMUALLOYNMIZZI
        VQNHTLMKKEKIMJPOJOAOAMNAIWGRJIYDMIBCQJYGUDXTJIJKZPQVXNKENJYDRNBAOBLKJCRODENTSPSVJZETUNPZTXHXB

Note: An online tool is available.

Step 4:

Find the message blocks matching the next given group: 17mce 5sk 6ske.

ZEKHCZUDGVWAZKQEKANAMEBLAISEDEBLANKZEYICVGMASHICAZABCDEFGHBGQWRBFEDAZEHPTKRGFXHHMUALLOYNMIZZI
VQNHTLMKKEKIMJPOJOAOAMNAIWGRJIYDMIBCQJYGUDXTJIJKZPQVXNKENJYDRNBAOBLKJCRODENTSPSVJZETUNPZTXHXB

Notice that in this step, for the first time, there are clues for both the cipher (code “c”) and the key (code “k”). The clue for the cipher is NAME BLAISE DE BLANK, which clues that this message was encrypted using the Vigenere cipher. The clue for the key is ALLOY RODENT, which clues the key BRASS RAT (the name of the MIT class rings). Decrypt the message.

Cipher key: BRASSRAT
Cipher: ZEKHCZUDGVWAZKQEKANAMEBLAISEDEBLANKZEYICVGMASHICAZABCDEFGHBGQWRBFEDAZEHPTKRGFXHHMUALLOYNMIZZI
        VQNHTLMKKEKIMJPOJOAOAMNAIWGRJIYDMIBCQJYGUDXTJIJKZPQVXNKENJYDRNBAOBLKJCRODENTSPSVJZETUNPZTXHXB
Plain:  YNKPKIUKFEWIHTQLJJNIUNBSZRSMLNBSZWKHMHIJUPMIAQIJZIAJKMEMFQBOYFRIENDIHNHWSTRONGHOLDATTXYULRZHQ
        EQUGCLUSTERHVJXWSOHNJMVIRWNQSIGLVIIBZJGODDESSIRSIPXUGNSMWJFCANJIXBSJSCZWMEUSBPADSZLSDNXHCXOWK

Note: An online tool is available.

Step 5:

Find the message blocks matching the next given group: 9sce 10sce 7ske 7ske.

YNKPKIUKFEWIHTQLJJNIUNBSZRSMLNBSZWKHMHIJUPMIAQIJZIAJKMEMFQBOYFRIENDIHNHWSTRONGHOLDATTXYULRZHQ
EQUGCLUSTERHVJXWSOHNJMVIRWNQSIGLVIIBZJGODDESSIRSIPXUGNSMWJFCANJIXBSJSCZWMEUSBPADSZLSDNXHCXOWK

The clue BOYFRIEND STRONGHOLD clues that this message was encrypted using the Beaufort cipher (beau=boyfriend, fort=stronghold). The clue CLUSTER GODDESS clues the key ATHENA (the MIT computing environment). Decrypt the message.

Cipher key: ATHENA
Cipher: YNKPKIUKFEWIHTQLJJNIUNBSZRSMLNBSZWKHMHIJUPMIAQIJZIAJKMEMFQBOYFRIENDIHNHWSTRONGHOLDATTXYULRZHQ
        EQUGCLUSTERHVJXWSOHNJMVIRWNQSIGLVIIBZJGODDESSIRSIPXUGNSMWJFCANJIXBSJSCZWMEUSBPADSZLSDNXHCXOWK
Plain:  CGXPDSGJCARSTARTERNLNRMIBCPSCNZBIIDTOMZVTLOLHOFRBLHVDOWHCOMMCOQWJNXLARGEIAQQAUTFWBNHHWJKCJBMR
        AXGURWKVHWCAJEDEBTXAROYZNRNKBZYCFSLGFEUMQEAVISCPWYDGNUMBEROFEARSWGMEIYULSJGISSEKIBIPBADTRKQRQ

Note: An online tool is available.

Step 6:

Find the message blocks matching the next given group: 10mc 5ske 12mk.

CGXPDSGJCARSTARTERNLNRMIBCPSCNZBIIDTOMZVTLOLHOFRBLHVDOWHCOMMCOQWJNXLARGEIAQQAUTFWBNHHWJKCJBMR
AXGURWKVHWCAJEDEBTXAROYZNRNKBZYCFSLGFEUMQEAVISCPWYDGNUMBEROFEARSWGMEIYULSJGISSEKIBIPBADTRKQRQ

The clue CAR STARTER clues that this message was encrypted using the Autokey cipher. The clue LARGE NUMBER OF EARS clues the key SMOOT (the unit used to measure the length of the Harvard Bridge). Decrypt the message.

Cipher key: SMOOT
Cipher: CGXPDSGJCARSTARTERNLNRMIBCPSCNZBIIDTOMZVTLOLHOFRBLHVDOWHCOMMCOQWJNXLARGEIAQQAUTFWBNHHWJKCJBMR
        AXGURWKVHWCAJEDEBTXAROYZNRNKBZYCFSLGFEUMQEAVISCPWYDGNUMBEROFEARSWGMEIYULSJGISSEKIBIPBADTRKQRQ
Plain:  KUJBKIMABQJGTZBKYYOKDTOURZWEIWAFEAHTJIZOACGMTODLPSTSSZEOKWNIOEUJBZTRRQHLRJAJPDKFNMKXCJXAFHSPR
        VQOFABUHCWBGCCHDVRVTOTHEUDUDXFVICVGLXCZGFHYWCNVRAWQLWUQLTVUPTHWYHNFIKRHGKZPBMIFVHPAKGTOTHEXDX

Note: An online tool is available.

Step 7:

Find the message blocks matching the next given group: 10mk 8mke.

KUJBKIMABQJGTZBKYYOKDTOURZWEIWAFEAHTJIZOACGMTODLPSTSSZEOKWNIOEUJBZTRRQHLRJAJPDKFNMKXCJXAFHSPR
VQOFABUHCWBGCCHDVRVTOTHEUDUDXFVICVGLXCZGFHYWCNVRAWQLWUQLTVUPTHWYHNFIKRHGKZPBMIFVHPAKGTOTHEXDX

The message blocks, parsed correctly, are TO THE U DU DX and TO THE X DX, which come from a common MIT cheer and clues the number e. The message was encrypted using the digits of e as a running key (also known as the Gronsfeld cipher). Decrypt the message.

Cipher: KUJBKIMABQJGTZBKYYOKDTOURZWEIWAFEAHTJIZOACGMTODLPSTSSZEOKWNIOEUJBZTRRQHLRJAJPDKFNMKXCJXAFHSPR
        VQOFABUHCWBGCCHDVRVTOTHEUDUDXFVICVGLXCZGFHYWCNVRAWQLWUQLTVUPTHWYHNFIKRHGKZPBMIFVHPAKGTOTHEXDX
Key:    271828182845904523536028747135266249775724709369995957496696762772407663035354759457138217852
        516642742746639193200305992181741359662904357290033429526059563073813232862794349076323382988
Plain:  INITIALSZIFBKZXFWVJHXTMMKVPDFRYZYYDKCBUHYYZMKLXCGJOJNSAFEQECHYSCUXPRKKBIRGVGKZDAEIFQBGPYEAKKP
        QPIZWZNDAPXAWZYCMOTTOQHZLUSCPEOEBSBCRWXXFDVRVLMRATNHULLJNVPGOBTYAKXHHPEECTNUDECRYPTEDRLQZCOVP

Note: An online tool is available.

Final step:

Find the final message blocks: 8s 9s.

INITIALSZIFBKZXFWVJHXTMMKVPDFRYZYYDKCBUHYYZMKLXCGJOJNSAFEQECHYSCUXPRKKBIRGVGKZDAEIFQBGPYEAKKP
QPIZWZNDAPXAWZYCMOTTOQHZLUSCPEOEBSBCRWXXFDVRVLMRATNHULLJNVPGOBTYAKXHHPEECTNUDECRYPTEDRLQZCOVP

The final clue is INITIALS DECRYPTED. We also haven’t used the code “e” given in the puzzle, associated with some of the message blocks. Putting these two together, the answer extraction method is to read the initials of the message blocks that are marked with code “e”. However, we shouldn’t read the initials from those message blocks directly, but rather, read the corresponding fully decrypted letters in the final plaintext message.

This is illustrated below. The messages from all the steps are listed below, marked with their step number (the final plaintext message is marked “F”). The message blocks that have associated code “e” are highlighted in light blue instead of yellow. Then, the letters in the final plaintext message corresponding to the initials of the light-blue message blocks are highlighted in green.

First half of message:
1: JHBXRJQDPKYGJBSHBGIGCHUMGOWHDHUMGIBJHLORKPCGWXORGJGURDHVPXUPSYTUVHDGJHXAZBTPVFXXCQGMMNLICOJJO
2: WUOKEWDQCXLTWOFUOTVTPUHZTBJUQUHZTVOWUYBEXCPTJKBETWTHEQUICKHCFLGHIUQTWUKNMOGCISKKPDTZZAYVPBWWB
3: LEKHCLYDGOUALKNEKATAREBWAIPEDEBWATKLEXICOGRAPHICALABCDEFGHBGNUZBFEDALEHMQKZGFSHHRYAWWVXTRILLI
4: ZEKHCZUDGVWAZKQEKANAMEBLAISEDEBLANKZEYICVGMASHICAZABCDEFGHBGQWRBFEDAZEHPTKRGFXHHMUALLOYNMIZZI
5: YNKPKIUKFEWIHTQLJJNIUNBSZRSMLNBSZWKHMHIJUPMIAQIJZIAJKMEMFQBOYFRIENDIHNHWSTRONGHOLDATTXYULRZHQ
6: CGXPDSGJCARSTARTERNLNRMIBCPSCNZBIIDTOMZVTLOLHOFRBLHVDOWHCOMMCOQWJNXLARGEIAQQAUTFWBNHHWJKCJBMR
7: KUJBKIMABQJGTZBKYYOKDTOURZWEIWAFEAHTJIZOACGMTODLPSTSSZEOKWNIOEUJBZTRRQHLRJAJPDKFNMKXCJXAFHSPR
F: INITIALSZIFBKZXFWVJHXTMMKVPDFRYZYYDKCBUHYYZMKLXCGJOJNSAFEQECHYSCUXPRKKBIRGVGKZDAEIFQBGPYEAKKP
Second half of message:
1: KSIXZMCBBHBOCEANENGNGCIGOYPTEOLDCOURSELPQDFZEOEBJASKFIBHIELDTIUGNUMBERTNDHIZWAWKEJHZQIAJZFXFU
2: XFVKMZPOOUOBPRNARATATPVTBLCGRBYQPBHEFRYCDQSMRBROWNFXSVOUVRYQGVHTAHZOREGAQUVMJNJXRWUMDVNWMSKSH
3: ONTHQWRKKEKIRJMVJVAVARTAIUGZJIXDRIBCNJXGYDSQJIJKLMNOSTKETJXDZTBAVBWKJCZVDETQPMPOJLEQYTMLQSHSB
4: VQNHTLMKKEKIMJPOJOAOAMNAIWGRJIYDMIBCQJYGUDXTJIJKZPQVXNKENJYDRNBAOBLKJCRODENTSPSVJZETUNPZTXHXB
5: EQUGCLUSTERHVJXWSOHNJMVIRWNQSIGLVIIBZJGODDESSIRSIPXUGNSMWJFCANJIXBSJSCZWMEUSBPADSZLSDNXHCXOWK
6: AXGURWKVHWCAJEDEBTXAROYZNRNKBZYCFSLGFEUMQEAVISCPWYDGNUMBEROFEARSWGMEIYULSJGISSEKIBIPBADTRKQRQ
7: VQOFABUHCWBGCCHDVRVTOTHEUDUDXFVICVGLXCZGFHYWCNVRAWQLWUQLTVUPTHWYHNFIKRHGKZPBMIFVHPAKGTOTHEXDX
F: QPIZWZNDAPXAWZYCMOTTOQHZLUSCPEOEBSBCRWXXFDVRVLMRATNHULLJNVPGOBTYAKXHHPEECTNUDECRYPTEDRLQZCOVP

Reading the green plaintext letters gives the final answer JERRY WEXLER.