# How to know if a number is divisible by 7?

Let us explore the divisibility rule of 7.

## Answer: The rule is to double the last digit and subtracts from the remaining number and continue this until only one digit remains. If the end result is 0 or 7, then the original number is divisible by 7.

Let us understand the rule in detail:

**Explanation:**

Follow the loop:

- Separate the last digit from the number.
- Double the last digit.
- Subtract that from the truncated number thus obtained.
- Continue this process till you are left with only one digit.
- If the single digit at the end is 0 or 7, then the original number is divisible by 7.

For example: 945

94 - 2(5) = 94 - 10 = 84

8 - 2(4) = 8 - 8 = 0

So, 945 is divisible by 7.