question 1
Which slot does the method give the word mud?
the answer, and why
the answer is D
m is 13: 0 times 31 plus 13 is 13, which leaves 0. Then 0 times 31 plus 21 is 21, which leaves 8. Then 8 times 31 plus 4 is 252, which leaves 5.
if you chose another
- That adds the letters, 38, and keeps the remainder. The method multiplies by 31 before each letter.
- That is the remainder of d's 4 after dividing by 13, the last letter alone. Multiplying by 31 keeps every letter in the value.
- That reads the letters from the last, d first, as dum. The method starts at the first letter.