A number is divisible by 6 if it is divisible by both 2 and 3.
Here's how to check:
- Divisibility by 2: A number is divisible by 2 if its last digit is even (0, 2, 4, 6, or 8).
- Divisibility by 3: A number is divisible by 3 if the sum of its digits is divisible by 3.
Example:
Let's take the number 252.
- Divisibility by 2: The last digit is 2, which is even. So, 252 is divisible by 2.
- Divisibility by 3: The sum of the digits (2 + 5 + 2 = 9) is divisible by 3. So, 252 is divisible by 3.
Since 252 is divisible by both 2 and 3, it is also divisible by 6.
In summary: To check if a number is divisible by 6, simply check if it is divisible by both 2 and 3.