Problem #PRU-65600

Problems Methods Pigeonhole principle Pigeonhole principle (other) Proof by contradiction

Problem

A robot came up with a cipher for writing words: he replaced some letters of the alphabet with single-digit or two-digit numbers, using only the digits 1, 2 and 3 (different letters it replaces with different numbers). First, he wrote down, using the cipher: \(ROBOT = 3112131233\). Having encrypted the words \(CROCODIL\) and \(BEGEMOT\), he was surprised to note that the numbers were completely identical! Then the Robot ciphered the word \(MATHEMATICS\). Write down the number that he got.