Question 331
Alex has $75$ red tokens and $75$ blue tokens. There is a booth where Alex can give two red tokens and receive in return a silver token and a blue token, and another booth where Alex can give three blue tokens and receive in return a silver token and a red token. Alex continues to exchange tokens until no more exchanges are possible. How many silver tokens will Alex have at the end?
Xem đáp án và lời giải
Đáp án: $103$
Suppose Alex uses the first booth $m$ times and the second booth $n$ times. After these exchanges, Alex has $R = 75 - 2m + n$ red tokens, $B = 75 + m - 3n$ blue tokens, and $m + n$ silver tokens. No further exchanges are possible when $R \in \{0, 1\}$ and $B \in \{0, 1, 2\}$. Expressing $m$ and $n$ in terms of $R$ and $B$ from $2m - n = 75 - R$ and $3n - m = 75 - B$ gives \[ 5m = 3(75 - R) + (75 - B) = 300 - 3R - B, \qquad 5n = (75 - R) + 2(75 - B) = 225 - R - 2B. \] Adding these equations yields $5(m + n) = 525 - 4R - 3B$, so $m + n = 105 - \dfrac{4R + 3B}{5}$. Since $R \in \{0, 1\}$ and $B \in \{0, 1, 2\}$, the quantity $4R + 3B$ is divisible by $5$ only when $(R, B) = (0, 0)$ or $(R, B) = (1, 2)$. However, $(R, B) = (0, 0)$ is impossible because every exchange returns at least one red or one blue token, so Alex can never finish with zero red and zero blue tokens. Therefore, $(R, B) = (1, 2)$ is the unique terminal state, giving $m = 59$, $n = 44$, and $m + n = 103$ silver tokens. One concrete sequence of exchanges achieving this is shown below.
| Action | Red Tokens | Blue Tokens | Silver Tokens |
|---|---|---|---|
| Start | $75$ | $75$ | $0$ |
| Exchange $75$ blue tokens ($25$ times) | $100$ | $0$ | $25$ |
| Exchange $100$ red tokens ($50$ times) | $0$ | $50$ | $75$ |
| Exchange $48$ blue tokens ($16$ times) | $16$ | $2$ | $91$ |
| Exchange $16$ red tokens ($8$ times) | $0$ | $10$ | $99$ |
| Exchange $9$ blue tokens ($3$ times) | $3$ | $1$ | $102$ |
| Exchange $2$ red tokens ($1$ time) | $1$ | $2$ | $103$ |
Thus Alex ends with $103$ silver tokens.