跳到主要内容
求证数学Reasoncraft Mathematics
/
搜索我的学习台
  1. BMO
  2. 2012
BMO2012
BMO/BMO

2012 British Mathematical Olympiad

10 道题目

British Mathematical OlympiadRound 1Round 2

选择题目

点击题号切换,正文区一次只显示一道题

4 / 10
2012/BMO/Round 1/Q4Integer operationsInvariantsNumber theory竞赛
4. Initially there are $m$ balls in one bag, and $n$ in the other, where $m,n>0$. Two different operations are allowed:

a) Remove an equal number of balls from each bag;

b) Double the number of balls in one bag.

Is it always possible to empty both bags after a finite sequence of operations?

Operation b) is now replaced with

b') Triple the number of balls in one bag.

Is it now always possible to empty both bags after a finite sequence of operations?
考场第一眼 / First look
两问需要两种相反的思路。先注意操作 a) 不改变两袋球数之差:同时减去同一个数,只会把状态整体向下平移。对“加倍”版本,要把这一点用来构造下降算法:先把较小袋减到 $1$,再反复“把 $1$ 加倍、两袋各减 $1$”,使另一袋逐次变小。对“变为三倍”版本,则应寻找不变量;因为乘以 $3$ 不改变一个整数的奇偶性,两袋球数之差的奇偶性在两种操作下都保持不变。
练习