The keypad used in the Typed Math alarm is formatted in the manner of a phone keypad. It currently puts 1, 2, and 3 at the top.
Calculators and computer keypads are formatted with 1, 2, and 3 on the bottom row, just above the 0. The phone keypad was intentionally designed to be different from the calculators at the time for one reason or another.
As a drowsy user, I instinctively begin to punch in numbers for the answer as if the keypad was laid out like any other calculator keypad and then fail the math test because I punched in a different number from what I thought.