Placement AptitudeVery hardCAT · Infosys SP

How many 5-digit palindromes (numbers like 12321 that read the same both ways) are divisible by 3?

  1. A. 30
  2. B. 270
  3. C. 330
  4. 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.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic