Placement AptitudeVery hardTCS NQT · Infosys

How many 5-digit numbers have digits that alternate between odd and even (for example 52741 or 21036)?

  1. A. 5625
  2. B. 6250
  3. C. 3125
  4. D. 2500

Correct answer: A. 5625

Odd-even-odd-even-odd: 5⁵ = 3125. Even-odd-even-odd-even: the leading even digit cannot be 0, so 4 × 5⁴ = 2500. Total 5625. 6250 lets the number start with 0.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic