a,b,c, are all non-negative integers such that
a + b + c=100
and 1000a + 300b + 50c = 10000
How many such triplets are possible?
i have tried to reduce the equations to a relation between a b and c. 18a + 4b = c but this would satisfy many non negative integers. I think i am wrong somewhere.
Here's a start: It would probably help to start by noticing that the second equation is the same as
$$20 a + 6 b + c = 200$$
Using the first equation, one can write this as
$$19 a + 5b = 100$$
Now this gives some immediate bounds that will allow you to study cases: Namely, the most useful one is that $0 \le a \le 5$.