After you calculate the difference, look at the answer. Add the digits of the answer together and they should be divisible by nine.
For example, if you chose 9871 and then subtract from it 1798, the difference is 8073. 8 + 0 + 7 + 3 = 18 (which is divisible by 9).
So, when you give it 3 of the 4 digits, it adds them up and figures out the next higher multiple of nine and subtracts the sum of the digits you gave it from that number. In the above example, if you provide 780, it adds them up and gets 15. Since 15 > 9, it goes to the next multiple of 9 (18) and subtracts 15 from 18 and gives you 3.
The rules prevent you from encountering the problems - you can't circle 0 and they want the number to be random. If the number had only one digit, such as 1111, then the difference would end up with 0.
Comment