Case 1
Ingredients A (3 kg per pack), B (4 kg per pack), and C (5 kg per pack) must purchased in whole packs.
Given that 1 kg of A, 1 kg of B and 1 kg of C are needed to make a giant bread. We want to make some breads.
What is the minimum number of pack of each ingredient we have to purchase such that none is left over?
My attempt
First, find the least common multiple of 3 kg, 4 kg, and 5 kg. The LCM is 60 kg.
Second, find the number of packs of each ingredients.
- $A=60/3=20$ packs
- $B=60/4=15$ packs
- $C=60/5=12$ packs
Third, additionally we can find the number of breads which is 60.
Case 2
Let's change to another recipe.
Ingredients A (3 kg per pack), B (4 kg per pack), and C (5 kg per pack) must purchased in whole packs.
Given that 2 kg of A, 3 kg of B and 7 kg of C are needed to make a giant bread. We want to make some breads.
What is the minimum number of pack of each ingredient we have to purchase such that none is left over?
Here 60 cannot be divided by 7. What should I do next?
Suppose the minimum number of packs of ingredients $A$, $B$, $C$ that we need to buy are $a$, $b$, $c$ respectively. Then the total amounts of each ingredient are $3a$, $4b$, $5c$. Let $n$ represent the number of breads that are made. Then $2n$, $3n$, $7n$ are the total amounts of each ingredient that are used. Therefore, we require $$\begin{align} 3a &= 2n \\ 4b &= 3n \\ 5c &= 7n. \end{align}$$
Since $a, b, c, n$ are integers, we must have $n$ be multiples of $3$, $4$, and $5$ as you had observed in the first question; the least such common multiple is $60$, therefore let $n = 60k$ for some integer $k$. Then we get $$\begin{align} a &= 40k \\ b &= 45k \\ c &= 84k. \end{align}$$ So long as $k$ is a positive integer, $a, b, c$ are also positive integers; thus $k = 1$ gives the minimum solution, $(a, b, c) = (40, 45, 84)$ packs. This makes $60$ breads as in the first question.
It is worth mentioning that we need to be careful: if, for instance, the ingredient ratio had been $2 : 4 : 7$ instead of $2 : 3 : 7$, then we only need $n$ to be a common multiple of $3$ and $5$, since the second equation in the system reduces: $$\begin{align} 3a &= 2n \\ 4b &= 4n \color{red}{\iff b = n} \\ 5c &= 7n \end{align}$$ This gives us $n = 15k$ and for $k = 1$ we get $$(a, b, c) = (10, 15, 21).$$