If the probability that a randomly chosen 6-digit number formed by using digits 1 and 8 only is a multiple of 21 is , then is equal to ______
We need to find the probability that a randomly chosen 6-digit number formed using only digits 1 and 8 is a multiple of 21, and then compute .
First, each of the 6 positions can be either 1 or 8, so the total number of such 6-digit numbers is .
Next, a 6-digit number with digits where each can be written as
Now we set where to obtain
Now we check divisibility by 21, noting that . For divisibility by 3, the digit sum must be divisible by 3. If of the digits are 8 and the remaining are 1, then the digit sum is
Since
we conclude that .
For divisibility by 7, observe that
and since it follows that is always divisible by 7.
Therefore, the favorable outcomes occur when , giving
Finally, the required probability is
and hence
Hence the answer is .
Tagged Probability using permutations and combinations. Machine-assigned, so read it as a strong shortlist rather than a verdict.