Mathematics (JEE)Very hardCMI entrance
How many strings of length 6 over {0, 1, 2} have an even digit sum?
- A. 365
- B. 364
- C. 378
- D. 729
Correct answer: A. 365
Over the three digits, the number of digits with even value is 2 and odd is 1; the signed sum Σ(−1)^(digit) per position is 1, so the even-sum count is (3⁶ + 1)/2 = 365. Option 364 is a slip in the halving step.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many non-negative integer solutions are there to x + y + z = 5 with x ≤ 2?
- How many paths from (0, 0) to (4, 4) with unit steps R and U never pass through the point (2, 2)?
- A 3-digit number is chosen uniformly at random from 100 to 999. What is the probability that its digits are strictly increasing from left…
- How many integers from 1 to 1000 are divisible by 3, or by 5, or by 7?
- How many 4-digit numbers (1000 to 9999) contain the digit 7 at least once?
- How many strings of length 6 over the digits 0 to 9 contain exactly two 3s?