Number of Integer Solutions with Inequality Constraint

CAT 2006 Slot 1 · QA · Easy · Quantitative Aptitude

The number of solutions of the equation 2x+y=402x + y = 40 where both xx and yy are positive integers and xyx \le y is:

  1. A.

    7

  2. B.

    13

  3. C.

    14

  4. D.

    18

  5. E.

    20

Answer

13

Explanation

y=402xy = 40 - 2x. Since x,yx, y are positive integers, x1x \ge 1 and 402x1    x1940 - 2x \ge 1 \implies x \le 19. We also require xy    x402x    3x40    x13.33x \le y \implies x \le 40 - 2x \implies 3x \le 40 \implies x \le 13.33. So xx can take integer values from 1 to 13 inclusive. Total solutions =13= 13.

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace