The Vault Part 1

Logic Level 2

You have just discovered an unknown vault which is a complex high-security "container" after 10 years of exhausting finding and work. The Vault is located on an Earth-like planet in an undocumented binary star system. You curiously entered it while suddenly, the entrance was blocked and the laser field was engaged. The laser will terminate you in 5 minutes.

Fortunately, you see a computer interface, which can be used to shut down the laser field and open the force barrier but requires a passcode. Your backpack contains a book written by Anon which describes quite exactly the Vault, including the passcode... in ciphers. The message is:

11-9-22-13-4 17 4-23-5-16-13-26 4 17-4-14 9-24-25 12-17-15-24-3-26-9-17-6 7. 7-4-3-21 24-10-17-24 7 15-17-4 16-13 13-20-2-26-13-25-25-13-14 17-25 24-21-3 24-3 24-10-13 2-3-21-13-26 3-12 17 5-9-6-6-9-3-4 17-4-14 13-9-11-10-24 24-9-5-13-25 17 (21-9-24-10 17 5-3-14 24-21-3 13-1-23-17-6-25 3-4-13) 17-4-14 21-10-13-4 21-26-9-24-24-13-4 9-4 16-17-25-13 24-10-26-13-13, 7 10-17-25 12-9-22-13 10-23-4-14-26-13-14 24-10-3-23-25-17-4-14 17-4-14 3-4-13 24-26-17-9-6-9-4-11 18-13-26-3-13-25. 24-10-13 2-17-25-25-15-3-14-13 9-25 24-10-13 4-23-5-16-13-26 3-12 24-26-17-9-6-9-4-11 18-13-26-3-13-25 3-12 7 21-10-13-4 21-26-9-24-24-13-4 9-4 16-17-25-13 25-13-22-13-4-24-13-13-4.

You only have 3 minutes left before being killed by the laser, and you know that there are 3 ciphers are used to encrypt this message: Caesar, Atbash, and A1Z26. Your Portable Handheld Computer (PHC) with a deciphering program and a notebook should help you. Find the passcode.

Edit 8: Thanks all you guys. I corrected the mistake and edited some parts of my problem. Currently I'm working for next parts. Be prepare!


The answer is 62498.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Chris Lewis
Sep 3, 2020

Fun problem! The process to encode a letter is

1) convert from A-Z to 1-26 (say this gives a value α \alpha )

2) compute β = 27 α \beta=27-\alpha

3) compute γ = Mod ( β 10 , 26 ) + 1 \gamma=\text{Mod}(\beta-10,26)+1

The final result gives the encoding.

Given a coded value γ \gamma , we just reverse the steps:

1) β = Mod ( γ + 8 , 26 ) + 1 \beta=\text{Mod}(\gamma+8,26)+1

2) α = 27 β \alpha=27-\beta

3) Convert from 1-26 to A-Z

For example, the code starts with 11 11 ; this process gives 11 20 7 G 11 \to 20 \to 7 \to \text{G} . The second character is 9 18 9 I 9 \to 18 \to 9 \to \text{I} , and so on.

The full text is:

GIVEN A NUMBER N AND ITS FACTORIAL K KNOW THAT K CAN BE EXPRESSED AS TWO TO THE POWER OF A MILLION AND EIGHT TIMES A (WITH A MOD TWO EQUALS ONE) AND WHEN WRITTEN IN BASE THREE K HAS FIVE HUNDRED MILLION AND ONE TRAILING ZEROES THE PASSCODE IS THE NUMBER OF TRAILING ZEROES OF K WHEN WRITTEN IN BASE SEVENTEEN

Now to the passcode problem. Unfortunately, the text has an error; the number of trailing zeroes in base 3 3 can't be larger than the highest power of 2 2 that divides n ! n! . In fact the second "million" in the message should be "thousand".

We have to find a number n n such that the highest power of 2 2 dividing n ! n! is 1000008 1000008 , the highest power of 3 3 dividing n ! n! is 500001 500001 , and find the the highest power of 17 17 dividing n ! n! .

Using the fact that the highest power of p p that divides n ! n! is given by n p i \sum \left \lfloor \frac{n}{p^i} \right \rfloor

it's not too hard to find that n = 1000017 n=1000017 , and the passcode is 62498 \boxed{62498} .

This was only easy to do because we were told the codes used. An alternative approach might be something like frequency analysis; the most common code is 13 13 (with 35 35 occurrences), which does indeed correspond to the letter E. The next most common letters in order in this text are N, T, I ,A, O, S which is not far off the frequencies in "normal" text. A better approach would be to look at letter pairings as well.

Chris Lewis - 9 months, 1 week ago

Oops! Sorry! I didn't notice that. Originally I just noted that the message is not encrypted by using Vigenère cipher, but then I realized that it would be too hard to crack the code without knowing how many ciphers are used. Anyway, it's good to see that someone can solve this. Also, the problem was edited. :)

Anh Khoa Nguyễn Ngọc - 9 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...