This one might be right, but I might be wrong.

来源: 屋漏痕 2009-07-28 12:39:19 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1042 bytes)
本文内容已被 [ 屋漏痕 ] 在 2009-07-28 16:38:03 编辑过。如有问题,请报告版主或论坛管理删除.
回答: IMO 2009康MM2009-07-24 03:51:50
Mathematical induction

When n=2, obvious.

Assume the statement is true for n.

For n+1, write M as {b1,b2,…b(n)}, where b1
Let a(n+1) be the max of a(i).

case 1:
If b(n-1)>a1+a2+ … + a(n).
By induction, a solution exists for {a1,…, a(n)} and {b1,…, b(n-1)}. Adding a(n+1) and b(n) won’t cause any conflict.

Case 2:
If b(n-1) By induction, a solution exists for {a1,…, a(n)} and {b1,…, b(n-1)}. If there exists k<=n such that b(n)=a1+…+a(k), insert a(n+1) in front of a(k).

Case 3:
If b(n-1)=a1+a2+…a(n).
If b(n-2)=a1+…+a(n-1), then b(n-1)-b(n-2)=a(n). A solution (based on induction) for {a1,a2,…a(n-1), a(n+1)} and {b1,b2,…,b(n-2),b(n)} can be used to form a solution for {a1,a2,…a(n), a(n+1)} and {b1,b2,…,b(n-1),b(n)}. So we assume b(n-2) is not equal to a1+…+a(n-1). Therefore, a solution exists. This solution plus a(n+1) is bigger b(n-1). If it happens to be b(n), letting a different number be a(n) will avoid it.
请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”