Placement AptitudeVery hardProduct company OA · CAT level

How many points with integer coordinates lie strictly inside the triangle with vertices (0, 0), (21, 0) and (0, 15)?

  1. A. 140
  2. B. 136
  3. C. 157
  4. D. 139

Correct answer: D. 139

Use Pick's theorem: Area = I + B/2 − 1. The area is 21 × 15/2 = 157.5. Boundary points: 21 on the x-axis side plus 15 on the y-axis side plus gcd(21, 15) = 3 on the hypotenuse, B = 39. So I = 157.5 − 19.5 + 1 = 139. Check another way: the 20 × 14 = 280 interior points of the rectangle, minus the 2 lattice points on the diagonal strictly inside, halved: (280 − 2)/2 = 139. 140 forgets the two points on the hypotenuse; 157 is the area.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic