question 1
Which slot does the method give the word top?
the answer, and why
the answer is C
t is 20: 0 times 31 plus 20 is 20, which leaves 7. Then 7 times 31 plus 15 is 232, which leaves 11. Then 11 times 31 plus 16 is 357, which leaves 6.
if you chose another
- That adds the letters, 51, and keeps the remainder. The method multiplies by 31 before each letter.
- That is the remainder of p's 16 after dividing by 13, the last letter alone. Multiplying by 31 keeps every letter in the value.
- That reads the letters from the last, p first, as pot. The method starts at the first letter.