Placement AptitudeVery hardProduct company OA · CAT level

For how many positive integers n is ⌊n/7⌋ = ⌊n/9⌋? (⌊x⌋ is the greatest integer not exceeding x.)

  1. A. 12
  2. B. 15
  3. C. 18
  4. D. 6

Correct answer: B. 15

Let the common value be k. Then 7k ≤ n < 7k + 7 and 9k ≤ n < 9k + 9, so n runs from 9k to 7k + 6, which is 7 − 2k values when that is positive. k = 0: n = 1…6 (6 values, since n must be positive); k = 1: n = 9…13 (5); k = 2: n = 18, 19, 20 (3); k = 3: n = 27 (1); k ≥ 4: none. Total 6 + 5 + 3 + 1 = 15. 6 stops at k = 0; 18 wrongly counts n = 0; the overlap must be measured from 9k up to 7k + 6.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic