Placement AptitudeModerateTCS NQT · Infosys

A whole number from 1 to 100 is chosen at random. What is the probability that it has an odd number of positive divisors?

  1. A. 1/2
  2. B. 1/4
  3. C. 3/25
  4. D. 1/10

Correct answer: D. 1/10

Divisors pair up as d and n/d, so only perfect squares (where d = n/d once) have an odd count. There are 10 squares up to 100: P = 1/10.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic