How to solve the equation x + y + Z = 100 0.5x + 3Y + 5Z = 100 Want a positive integer solution

How to solve the equation x + y + Z = 100 0.5x + 3Y + 5Z = 100 Want a positive integer solution

X + y + Z = 100 0.5x + 3Y + 5Z = 100 multiply the second equation by 2, then subtract the first equation to get 5Y + 9z = 100. Because the end number of 5Y is 5 or 0, so the end number of 9z is 5 or 0, only 9z = 45 or 9z = 90, that is, z = 5 or Z = 10. At this time, y = 11, y = 2 respectively, and then we can get x = 85 or x = 88. In conclusion, the solution is x = 85, y = 5, z = 10x = 88, y =