Given,All the digits of a 7-digit palindrome are from 5,6,0 with repetitions.
To find,Number of such palindromes possible.
Let the 7-digit number be depicted as - _ _ _ | _ | _ _ _
Approach 1: Probability approach -
Number of ways in which we can arrange the first digit = 2 (Since it can only be 5 or 6).
Number of ways in which we can arrange the second digit = 3 (Since it can be 5 or 6 or 0).
Number of ways in which we can arrange the Third digit = 3 (Since it can be 5 or 6 or 0).
Number of ways in which we can arrange the Fourth digit = 3 (Since it can be 5 or 6 or 0).
Number of ways in which we can arrange the Fifth digit = 1 (Since it has to be the same as the ten thousands digit to make it a palindrome)
Number of ways in which we can arrange the Sixth digit = 1 (Since it has to be the same as the one lakh's digit to make it a palindrome)
Number of ways in which we can arrange the Seventh digit = 1 (Since it has to be the same as the ten lakh's digit to make it a palindrome)
Now,
Total number of possible palindromes = 2 * 3 * 3 * 3 * 1 * 1 * 1 = 54
Approach 2: Combinatorics approach -
Number of ways in which we can select the first digit = 2C1 = 2 (Since it can only be from 5 or 6).
Number of ways in which we can select the second digit = 3C1 = 3 (Since it can only be from 5 or 6 or 0).
Number of ways in which we can select the Third digit = 3C1 = 3(Since it can only be from 5 or 6 or 0).
Number of ways in which we can select the Fourth digit = 3C1 = 3(Since it can only be from 5 or 6 or 0).
Number of ways in which we can select the Fifth digit = 1C1 = 1 (Since it has to be the same as the ten thousands digit to make it a palindrome)
Number of ways in which we can select the Sixth digit = 1C1 = 1 (Since it has to be the same as the one lakh's digit to make it a palindrome)
Number of ways in which we can select the Seventh digit = 1C1 = 1 (Since it has to be the same as the ten lakh's digit to make it a palindrome)
Now,
Total number of possible palindromes = 2 * 3 * 3 * 3 * 1 * 1 * 1 = 54
Answer: B