a) Adam and Eve take turns writing one number each until they have 20 numbers in a row. Adam writes the first number, and the only numbers they can use are 1, 2, 3, 4, and 5. Eve tries to ensure that the 20-digit number obtained is divisible by 9. Can Adam prevent it?
(b) The same task as above, but this time Adam and Eve write a 30-digit number.
I know that : "A natural number is divisible by 9 iff its checksum is." But i do not know how to continue from that.
(b) The same task as above, but this time Adam and Eve write a 30-digit number.
I know that : "A natural number is divisible by 9 iff its checksum is." But i do not know how to continue from that.