The number of solutions of the equation 2x + y = 40 where both x and y are positive integers and x <= y is:
y = 38 => x = 1
y = 36 => x = 2
...
...
y = 14 => x = 13
y = 12 => x = 14 => Cases from here are not valid as x > y.
Hence, there are 13 solutions.
Create a FREE account and get: