X+Y+Z=50…………………………………………………………………………(1)
3X+2Y+0.5Z=100……………………………………………………………………(2)
(1)×4-(2)×2得2x=3z
所以暂设x=3t,z=2t代入(1)得y=5(10-t),所以方程的参数解为
x=3t
y=5(10-t) (t∈Z)
z=2t
如果x,y,z>0,则1≤t≤9,
x= 3,6,9,12,15,18,21,24,24
y=45,40,35,30,25,20,15,10,5
z= 2,4,6,8,10,12,14,16,18