Correct option is B
Given:
Eight-digit number: 51880p69
We need the maximum value of p such that the number is divisible by 3
Concept Used:
A number is divisible by 3 if the sum of its digits is divisible by 3.
Solution:
Digits: 5, 1, 8, 8, 0, p, 6, 9
Sum (without p): 5 + 1 + 8 + 8 + 0 + 6 + 9 = 37
We want 37 + p divisible by 3
Trying values of p from 9 to 0:
p = 9: 37 + 9 = 46, not divisible by 3
p = 8: 37 + 8 = 45, divisible by 3
So, maximum valid p = 8