You’ve found Leonardo Da Vinci’s secret vault, secured by a series of combination locks. Fortunately, your treasure map has three codes: 1210, 3211000, and… hmm. The last one appears to be missing. Looks like you’re gonna have to figure it out on your own.
당신은 레오나르도 다 빈치의 비밀 금고를 찾게 됩니다. 일련의 번호자물쇠로 잠겨있는 금고를요. 다행히도, 당신의 보물 지도에는 세 개의 번호가 적혀있군요: 1210, 3211000, 그리고… 이런. 마지막 암호는 사라진 듯하네요. 당신이 그 암호를 스스로 풀어야 할 듯합니다.
There’s something those first two numbers have in common: they’re what’s called autobiographical numbers. This is a special type of number whose structure describes itself. Each of an autobiographical number’s digits indicates how many times the digit corresponding to that position occurs within the number. The first digit indicates the quantity of zeroes, the second digit indicates the number of ones, the third digit the number of twos, and so on until the end.
처음 두 수 사이에는 어떠한 공통점이 있습니다: 바로 자기기술수라고 불리는 것입니다. 이는 숫자의 구조가 그 자신을 나타내는 특별한 종류의 숫자입니다. 자기기술수의 각 자릿수는 그 자리에 대응하는 숫자들이 수 안에서 몇 번이나 나오는지 나타냅니다. 첫 번째 숫자는 0의 개수를 나타내고 두 번째 숫자는 1의 개수를 나타내며 세 번째 숫자는 2의 개수를 나타내고 이것이 끝까지 반복됩니다.
The last lock takes a 10 digit number, and it just so happens that there’s exactly one ten-digit autobiographical number. What is it? Pause here if you want to figure it out for yourself! Answer in: 3 Answer in: 2 Answer in: 1
마지막 비밀번호는 열 자리 숫자이며 우연히도 열 자리 자기기술수는 단 하나뿐입니다. 답은 무엇일까요? 스스로 정답을 찾고 싶다면 여기서 영상을 정지하세요! 3초 후 정답공개 2초 후 정답공개 1초 후 정답공개
Blindly trying different combinations would take forever. So let’s analyze the autobiographical numbers we already have to see what kinds of patterns we can find. By adding all the digits in 1210 together, we get 4 – the total number of digits. This makes sense since each individual digit tells us the number of times a specific digit occurs within the total. So the digits in our ten-digit autobiographical number must add up to ten.
무턱대고 여러 가지 조합을 시도하면 아마 평생이 걸릴 겁니다. 그러니 우리가 이미 가지고 있는 자기기술수를 분석해서 어떤 규칙이 있는지 알아봅시다. 1210의 숫자를 모두 더하면 자릿수의 개수와 같은 4가 나오네요. 각각의 숫자가 특정한 숫자가 적힌 총 횟수를 알려주니 지극히 당연할 법도 하지요. 그래서 우리의 열 자리 자기기술수의 자릿수의 합은 10이 되어야 합니다.
This tells us another important thing – the number can’t have too many large digits. For example, if it included a 6 and a 7, then some digit would have to appear 6 times, and another digit 7 times– making more than 10 digits. We can conclude that there can be no more than one digit greater than 5 in the entire sequence. So out of the four digits 6, 7, 8, and 9, only one – if any-- will make the cut. And there will be zeroes in the positions corresponding to the numbers that aren’t used. So now we know that our number must contain at least three zeroes – which also means that the leading digit must be 3 or greater.
여기서 또 중요한 사실을 알 수 있는데요 큰 숫자가 너무 많으면 안된다는 것입니다. 예를 들어서 만약 6과 7이 포함된다면 어떤 숫자는 여섯 번이 나와야 하고 어떤 숫자는 일곱 번이 나와야 하는데 이렇게 되면 열 자리가 넘어버립니다. 그렇다면 전체에서 5보다 큰 숫자가 둘 이상 있을 수 없다는 결론을 내릴 수 있습니다. 그러니 6, 7, 8, 9, 이렇게 네 가지 숫자 중에서는 많아야 하나 정도가 포함될 겁니다. 그리고 사용되지 않은 숫자들에 대응하는 자리에는 0이 들어가야 하겠지요. 그래서 저희의 숫자에는 최소한 세 개의 0이 포함되어야 합니다. 이것은 또한 맨 처음 숫자가 3 이상이어야 한다는 것을 의미하지요.
Now, while this first digit counts the number of zeroes, every digit after it counts how many times a particular non-zero digit occurs. If we add together all the digits besides the first one – and remember, zeroes don’t increase the sum – we get a count of how many non-zero digits appear in the sequence, including that leading digit. For example, if we try this with the first code, we get 2 plus 1 equals 3 digits. Now, if we subtract one, we have a count of how many non-zero digits there are after the first digit – two, in our example.
첫 자리 숫자가 0의 개수를 세는 반면에 그 뒤로 오는 모든 숫자는 0이 아닌 숫자의 개수를 셉니다. 만약 저희가 첫 자리 숫자를 제외한 나머지 자릿수를 더한다면 0은 총합을 늘리지 않는다는 것을 기억하세요 0이 아닌 숫자가 몇 번이나 나와야 하는지 알게 됩니다. 첫 자리 숫자를 포함해서 말이지요. 예를 들어 이 첫 암호로 시도해보면 2 더하기 1이므로 세 개의 숫자가 나와야합니다. 그리고 만약 1을 빼면 첫 자리 숫자 뒤에 0이 아닌 숫자가 몇 번 와야 하는지 알 수 있습니다. 이 예시에서는 두 개네요.
Why go through all that? Well, we now know something important: the total quantity of non-zero digits that occur after the first digit is equal to the sum of these digits, minus one. And how can you get a distribution where the sum is exactly 1 greater than the number of non-zero positive integers being added together? The only way is for one of the addends to be a 2, and the rest 1s. How many 1s? Turns out there can only be two – any more would require additional digits like 3 or 4 to count them.
왜 이러한 과정을 거쳐야 하나요? 이제 중요한 사실을 배웠기 때문이지요. 첫 자리 숫자 뒤에 오는 0이 아닌 숫자들의 개수는 이 숫자들의 합에서 1을 뺀 것과 같습니다. 그렇다면 그 총합이 0이 아닌 양의 정수의 합보다 정확히 1이 더 크게 하려면 어떻게 해야 할까요? 유일한 해결책은 가수 중 하나를 2로 설정하고 나머지를 1로 두는 겁니다. 몇 개의 1요? 단 두 개만 들어갈 수 있습니다. 그보다 많으면 그들을 세기 위해서
So now we have the leading digit of 3 or greater counting the zeroes, a 2 counting the 1s, and two 1s – one to count the 2s and another to count the leading digit. And speaking of that, it’s time to find out what the leading digit is. Since we know that the 2 and the double 1s have a sum of 4, we can subtract that from 10 to get 6. Now it’s just a matter of putting them all in place: 6 zeroes, 2 ones, 1 two, 0 threes, 0 fours, 0 fives, 1 six, 0 sevens, 0 eights, and 0 nines.
3이나 4와 같은 숫자들을 추가로 필요로 하기 때문이죠. 이제 우리는 0의 개수를 나타내는 3 이상의 첫 자릿수와 1의 개수를 나타내는 2 그리고 두 개의 1 하나는 2의 개수 하나는 첫 자리를 세는 1이 있다는 걸 압니다. 그런 의미에서 이제 첫 자릿수가 과연 무엇인지 알아내야 할 시간입니다. 2와 두 개의 1의 합이 4라는 것을 이미 알고 있기 때문에 그것을 10에서 빼서 6을 얻어낼 수 있습니다. 이제는 이들을 모두 제자리에 놓는 일밖에 남지 않았어요. 0 여섯 개 1 두 개 2 한 개 3은 없고요 4 또한 없고 5도 없고 6 한 개 7은 없고 8도 없으며
The safe swings open, and inside you find... Da Vinci’s long-lost autobiography.
그리고 9 또한 없으니 0을 집어넣습니다. 이제 금고가 열리고, 그 안에서 당신은…