In a certain code language, ‘CROW’ is coded as ‘7513’ and ‘WORM’ is coded as ‘7613’. What is the code for ‘M’ in the given code language?
6
List the digits used by each code word.
CROW is coded as 7513, so C, R, O, W together use the digits {7, 5, 1, 3}.
WORM is coded as 7613, so W, O, R, M together use the digits {7, 6, 1, 3}.
Letters W, O and R are common to both words, and the digits {7, 1, 3} appear in both codes for them.
The digit 6 appears in WORM's code but not in CROW's, while the only new letter in WORM is M.
Therefore, the letter M must correspond to the digit 6.
Hence, the code for M is 6.