Shortcut Trick
For a number to be divisible by 6, it must be divisible by both 2 and 3.
The number 95P8 ends in 8, so it is already divisible by 2.
For divisibility by 3, the sum of digits (9 + 5 + P + 8 = 22 + P) must be a multiple of 3.
Checking options: 22 + 2 = 24, which is divisible by 3.
∴ The correct answer is 2.
Alternate Method
Given: The number 95P8 is divisible by 6.
Formula Used: A number is divisible by 6 if it satisfies the divisibility rules of both 2 and 3.
⇒ Divisibility rule of 2: The last digit of the number must be even (0, 2, 4, 6, or 8).
⇒ In 95P8, the unit digit is 8, which is even. Thus, the number is divisible by 2 for any value of P.
⇒ Divisibility rule of 3: The sum of all digits of the number must be divisible by 3.
⇒ Sum of digits = 9 + 5 + P + 8 = 22 + P
⇒ For the number to be divisible by 3, 22 + P must be a multiple of 3 (24, 27, 30, ...).
⇒ If 22 + P = 24, then P = 2.
⇒ If 22 + P = 27, then P = 5.
⇒ If 22 + P = 30, then P = 8.
⇒ Among the given options (0, 2, 4, 6), only P = 2 satisfies the condition.
∴ The correct answer is 2.
Additional Information
Divisibility by 3
A number is divisible by 3 if the sum of its digits is a multiple of 3.
Divisibility by 4
A number is divisible by 4 if the last two digits of the number are divisible by 4.
Divisibility by 9
A number is divisible by 9 if the sum of its digits is divisible by 9.