1

David went to the market yesterday, he bought some stuff by $107$ shikels, when he opend his wallet to pay for the stuff, he saw different types of money, $1$ shikel, $10$ shikel, and $50$ shikel. How many ways can he pay the $107$ shikels? Assuming that there are enough amount of all types of money.

mrp
  • 5,226
user373141
  • 2,583

1 Answers1

2

$$1\cdot x+10\cdot y+50\cdot z=107$$ $$x+10y+50z=107$$ where $x,y,z\ge0, x,y,z \in \mathbb Z$

$z\le 2$

1) Let $z=2$, then $$x+10y=7$$ Then $x=7, y=0$

$$(x=1, y=0, z=2)$$

2) Let $z=1$

3) Let $z=0$

Can you finish?

Roman83
  • 18,308