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!
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.
Fun problem! The process to encode a letter is
1) convert from A-Z to 1-26 (say this gives a value α )
2) compute β = 2 7 − α
3) compute γ = Mod ( β − 1 0 , 2 6 ) + 1
The final result gives the encoding.
Given a coded value γ , we just reverse the steps:
1) β = Mod ( γ + 8 , 2 6 ) + 1
2) α = 2 7 − β
3) Convert from 1-26 to A-Z
For example, the code starts with 1 1 ; this process gives 1 1 → 2 0 → 7 → G . The second character is 9 → 1 8 → 9 → 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 can't be larger than the highest power of 2 that divides n ! . In fact the second "million" in the message should be "thousand".
We have to find a number n such that the highest power of 2 dividing n ! is 1 0 0 0 0 0 8 , the highest power of 3 dividing n ! is 5 0 0 0 0 1 , and find the the highest power of 1 7 dividing n ! .
Using the fact that the highest power of p that divides n ! is given by ∑ ⌊ p i n ⌋
it's not too hard to find that n = 1 0 0 0 0 1 7 , and the passcode is 6 2 4 9 8 .