Math Gold Medalist

Lor

Daily Problem

Problem 3

x, y , z are non-negative integers less than or equal to 20 such that  x+2y+5z=142. Find maximum of x+y+z.

Starting From a Special Case

Priority: The Most Limited Case

Consider first z=20 then y=20 then x=2.

Then try to decrease z, y and  increase x.

   Solution