Placement AptitudeHardInfosys SP · Accenture

How many integers have exactly three digits in each of base 10, base 8 and base 6?

  1. A. 152
  2. B. 115
  3. C. 116
  4. D. 180

Correct answer: C. 116

Three digits means 100–999 in base 10, 64–511 in base 8 (8² to 8³ − 1) and 36–215 in base 6 (6² to 6³ − 1). The overlap is 100–215, which has 116 integers. 115 is the usual off-by-one slip, and 152 uses 64–215.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic