Problem #99
Divisibility Test
Sum of digits of a 5-digit number is 41. Let the probability that such a number is divisible by 11 be \frac{p}{q}, where \gcd(p,q) = 1.
Find q-p.
Sum of digits of a 5-digit number is 41. Let the probability that such a number is divisible by 11 be \frac{p}{q}, where \gcd(p,q) = 1.
Find q-p.