Placement AptitudeVery hardCAT · Infosys SP
How many 5-digit palindromes (numbers like 12321 that read the same both ways) are divisible by 3?
- A. 30
- B. 270
- C. 330
- D. 300
Correct answer: D. 300
A palindrome abcba has digit sum 2a + 2b + c, so we need c ≡ a + b (mod 3). The 90 choices of (a, b) split evenly, 30 for each remainder of a + b, and c then has 4, 3 or 3 choices: 30 × (4 + 3 + 3) = 300.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Each of the four entries of a 2 × 2 matrix is chosen to be 0 or 1 at random (independently, equally likely). What is the probability that…
- How many different selections of 3 letters can be made from the letters of the word ASSASSINATION?
- 10 people stand in a row in random order. What is the probability that Arjun and Bela have exactly 3 people standing between them?
- There are three boxes: one with two gold coins, one with two silver coins, and one with a gold and a silver coin. A box is chosen at…
- A family has two children. Each child is a boy or a girl with probability 1/2 and is born on any of the 7 weekdays with probability 1/7…
- A whole number from 1 to 100 is chosen at random. What is the probability that it has an odd number of positive divisors?