## On the Subject of Divisible Numbers

Who cares about divisibility rules, just use a calculator.

This module consists of one screen at the top showing a number, another one at the bottom showing the current stage, a Yea button and a Nay button.

To solve the module you have to press the Yea or Nay button through 3 stages. Go through the rules and apply the first one that is relevant. Press the Yea button if the number is correct according to your answer and press Nay if it’s not. Getting a strike will reset the module back to stage 1 and generate new numbers. The first displayed number means the number generated in the first round. If you strike on the module, this will change to the new number in the first round.

### Rules:

- If the bomb contains 3 or more batteries, the number must be divisible by 3.
- Otherwise, if the bomb contains more lit indicators than unlit ones, the number must be divisible by 9.
- Otherwise, if the first displayed number was less than 1000, the number must be divisible by 6.
- Otherwise, if the starting time on the bomb was less than 10 minutes, the number must be divisible by 4.
- Otherwise, if the last digit of the serial number is even, the number must be divisible by 2.
- Otherwise, if there is more than 10 modules on the bomb, the number must be divisible by 5.
- Otherwise, the number must be divisible by 10.

### Appendix Math: Divisibility rules

- A number is divisible by 2 if the last digit of the number is 0, 2, 4, 6 or 8.
- A number is divisible by 3 if the sum of the digits of the number is divisible by 3.
- A number is divisible by 4 if the last two digits of the number are divisible by 4.
- A number is divisible by 5 if the last digit of the number is 0 or 5.
- A number is divisible by 6 if the number is divisible by both 2 and 3.
- A number is divisible by 9 if the sum of the digits is divisible by 9.
- A number is divisible by 10 if the last digit of the number is 0.