In this dystopian world, your resistance group is humanity's last hope. Unfortunately, you've all been captured by the tyrannical rulers and brought to the ancient colosseum for their deadly entertainment. Before you're thrown into the dungeon, you see many numbered hallways leading outside. But each exit is blocked by an electric barrier with a combination keypad. You learn that one of you will be allowed to try to escape by passing a challenge while everyone else will be fed to the mutant salamanders the next morning. With her perfect logical reasoning, Zara is the obvious choice. You hand her a concealed audio transmitter so that the rest of you can listen along. As Zara is led away, you hear her footsteps echo through one of the hallways, then stop. A voice announces that she must enter a code consisting of three positive whole numbers in ascending order, so the second number is greater than or equal to the first, and the third is greater than or equal to the second. She may ask for up to three clues, but if she makes a wrong guess, or says anything else, she'll be thrown back into the dungeon. For the first clue, the voice says the product of the three numbers is 36. When Zara asks for the second clue, it tells her the sum of the numbers is the same as the number of the hallway she entered. There's a long silence. You're sure Zara remembers the hallway number, but there's no way for you to know it, and she can't say it outloud. If Zara could enter the passcode at this point, she would, but instead, she asks for the third clue, and the voice announces that the largest number appears only once in the combination. Moments later, the buzz of the electric barrier stops for a few seconds, and you realize that Zara has escaped. Unfortunately, her transmitter is no longer in range, so that's all the information you get. Can you find the solution? Pause on the next screen to work out the solution. 3 2 1 You're worried about the fact that you don't know Zara's hallway number, but you decide to start from the beginning anyways. From the first clue, you work out all of the eight possible combinations that come out to a product of 36. One of these must be right, but which one? Now comes the hard part. Even though you don't know which number you're looking for, you decide to work out the sum of each combination's three numbers. That's when it hits you. All but two of the sums are unique, and if the hallway number had matched any of these, Zara would have known the correct combination right then and there without asking for the third clue. Since she did ask for the clue, the hallway number must have matched the only sum that appears more than once in the list: thirteen. But which of the two combinations that add up to thirteen is correct: 1,6,6, or 2,2,9? That's where the third clue comes in. Since it tells us that the largest number must be unique, 2,2,9 must be the code. When night falls, you and the others escape through hallway thirteen and rejoin Zara outside. You've freed yourselves through math and logic. Now it's time to free the rest of the world.
Wasz ruch oporu to ostatnia nadzieja dławionej tyranią ludzkości. Niestety zostaliście schwytani przez władze, a teraz w starożytnym koloseum macie im dostarczyć krwawej rozrywki. Zanim trafiacie do lochu, widzicie wiele ponumerowanych drzwi. Każde blokuje bariera elektryczna na zamek szyfrowy. Dowiadujecie się, że jedno z was dostanie szansę ucieczki, jeśli rozwiąże zagadkę, a pozostali zostaną rano rzuceni na pożarcie zmutowanym salamandrom. Logicznie rozumująca Zara to oczywista kandydatka. Wręczasz jej mały nadajnik radiowy, żeby reszta mogła wszystko słyszeć. Kiedy zabierają Zarę, w korytarzu słychać echo jej kroków. Zatrzymuje się. Głos wyjaśnia, że musi wpisać kod złożony z trzech dodatnich liczb całkowitych w porządku rosnącym, czyli druga liczba musi być równa albo większa od pierwszej, a trzecia równa albo większa od drugiej. Zara może poprosić o trzy wskazówki, ale jeśli poda zły kod albo powie coś bez związku, trafi z powrotem do lochu. Głos daje jej pierwszą wskazówkę: iloczyn trzech liczb to 36. Zara prosi o drugą, a głos odpowiada, że suma trzech liczb jest równa numerowi drzwi, którymi weszła. Zapada cisza. Zara na pewno pamięta numer, ale wy go nie znacie, a ona nie może nic powiedzieć. Gdyby Zara znała kod, mogłaby go teraz wpisać, ale prosi o trzecią wskazówkę. Głos odpowiada, że największa liczba występuje w kombinacji tylko raz. Szum bariery elektrycznej na moment cichnie i wiadomo, że Zara uciekła. Niestety nadajnik ma za mały zasięg i nie przekaże już więcej informacji. Czy znajdziesz rozwiązanie? [Zatrzymaj, żeby znaleźć rozwiązanie.] [3] [2] [1] Martwi cię, że nie znasz numeru drzwi, ale i tak postanawiasz rozwiązać zagadkę. Pierwsza wskazówka daje osiem kombinacji liczb, których iloczyn wynosi 36. Któraś otwiera drzwi, tylko która? Teraz najtrudniejsza część. Nie wiesz, jakiej liczby szukasz, ale postanawiasz zsumować liczby każdej kombinacji. I doznajesz olśnienia. Tylko jedna suma się powtarza. Gdyby numer drzwi był inny, Zara już znałaby właściwą kombinację. Nie potrzebowałaby trzeciej wskazówki. Skoro o nią poprosiła, numer drzwi musiał być jedyną sumą, która pojawia się więcej niż raz, trzynastką. Która z kombinacji z trzynastką jako sumą jest właściwa? 1, 6, 6 czy 2, 2, 9? Trzecia wskazówka mówi, że największa liczba występuje tylko raz, więc poprawny kod to 2, 2, 9. Nocą uciekacie przez drzwi numer 13 i dołączacie do Zary na zewnątrz. Uratowaliście się dzięki matematyce i logice. Teraz pora, żeby uratować resztę świata.