Difference between revisions of "2007 AMC 10B Problems/Problem 9"
(Created page with '==Problem 9== A cryptographic code is designed as follows. The first time a letter appears in a given message it is replaced by the letter that is <math>1</math> place to its ri…') |
(No difference)
|
Revision as of 18:36, 27 May 2011
Problem 9
A cryptographic code is designed as follows. The first time a letter appears in a given message it is replaced by the letter that is place to its right in the alphabet (asumming that the letter
is one place to the right of the letter
). The second time this same letter appears in the given message, it is replaced by the letter that is
places to the right, the third time it is replaced by the letter that is
places to the right, and so on. For example, with this code the word "banana" becomes "cbodqg". What letter will replace the last letter
in the message
Solution
Since the letter that will replace the last does not depend on any letter except the other
's, you can disregard anything else. There are
's, so the last
will be replaced the letter
places to the right of
.
Every
places, you will end up with the same letter so you can just take the remainder of
when you divide by
which is
Therefore, the letter that will is replace the last
is