Placement AptitudeVery hardCAT · Infosys

How many integers from 1 to 1000 are neither perfect squares, nor perfect cubes, nor perfect fifth powers?

  1. A. 956
  2. B. 962
  3. C. 960
  4. D. 969

Correct answer: C. 960

Squares 31, cubes 10, fifth powers 3 (1, 32, 243). Overlaps: sixth powers 3 (1, 64, 729), tenth powers 1, fifteenth powers 1, thirtieth powers 1. Union = 31 + 10 + 3 − 3 − 1 − 1 + 1 = 40, so 960. 956 forgets the overlaps; 962 ignores fifth powers altogether.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic