关于集合的一道竞赛题目
楼主 · 1 楼
定义正整数n为“好数”,如果n具有如下特性:
集合{1,2,3, ..., n}能被分成两个不同的集合S和T,集合S中所有元素的平均数是集合T中的一个元素,同时集合T中所有元素的平均数是集合S中的一个元素。
例如4是一个“好数”。因为集合{1,2,3,4}可以被分成两个集合{1,3}和{2,4}。
问:(1)哪些偶数是“好数”?
(2)证明质数都不是“好数”。
我试着做了一下。只要是4的倍数应该都是“好数”。只要分成奇数和偶数两个集合就可以得证。不过是不是只有4的倍数才可以呢?如何证明?
如果只有4的倍数才是“好数”这个命题成立,那么第二问就可以轻易解决了。
希望我的想法不要成为大家思考的枷锁。或许应该有更广阔的想法。
请帮忙解答一下,多谢了!
不得已才发到这边来,因为实在是有些难度。但愿有朋友能给予解答。
集合{1,2,3, ..., n}能被分成两个不同的集合S和T,集合S中所有元素的平均数是集合T中的一个元素,同时集合T中所有元素的平均数是集合S中的一个元素。
例如4是一个“好数”。因为集合{1,2,3,4}可以被分成两个集合{1,3}和{2,4}。
问:(1)哪些偶数是“好数”?
(2)证明质数都不是“好数”。
我试着做了一下。只要是4的倍数应该都是“好数”。只要分成奇数和偶数两个集合就可以得证。不过是不是只有4的倍数才可以呢?如何证明?
如果只有4的倍数才是“好数”这个命题成立,那么第二问就可以轻易解决了。
希望我的想法不要成为大家思考的枷锁。或许应该有更广阔的想法。
请帮忙解答一下,多谢了!
不得已才发到这边来,因为实在是有些难度。但愿有朋友能给予解答。
2 楼
This is a little interesting
First one prove is a, b, are good number then a+b is good number, just try to
combine the two partition, so all mulitiple of 4 are good numbers
Second one can prove every prime p is not good by contradiction, suppose p is good then A \union B={1,2,3,4...p}, let A has a many elements and its average to be x, B has b many elements and its average to be y, then you have
a+b=p
ax+by=p(p+1)/2
since p divides p(p+1)/2 one has p divids ax+by, but p divides a+b so p divides ax+bx, Hence p divides b(x-y), but here b and x-y are two nonzero number with modulus less than p, so this is a contradiction to the fact p is prime.
Third among even numbers 2,4,6,8,10 one can check good numbers are 4,8, 10. So we already know 4,8 are good, and it is easy to show 2 and 6 are not good.
10 is good because 1,2,3,4...10= 2,3,4,6,10 and 1,5,7,8,9 and this is a good partition. So by the first property all numbers of the form 4m+10n where m,n are nonnegative integers are good. Now one can prove all even numbers which are larger than 10 are of this form. Just use simple Euclidean-level-arithemetic for it.
So the result is among all the even numbers the good numbers are
4,8,10,12,14,16,18,20,22,24,26,28,30,..... all even numbers after ....
First one prove is a, b, are good number then a+b is good number, just try to
combine the two partition, so all mulitiple of 4 are good numbers
Second one can prove every prime p is not good by contradiction, suppose p is good then A \union B={1,2,3,4...p}, let A has a many elements and its average to be x, B has b many elements and its average to be y, then you have
a+b=p
ax+by=p(p+1)/2
since p divides p(p+1)/2 one has p divids ax+by, but p divides a+b so p divides ax+bx, Hence p divides b(x-y), but here b and x-y are two nonzero number with modulus less than p, so this is a contradiction to the fact p is prime.
Third among even numbers 2,4,6,8,10 one can check good numbers are 4,8, 10. So we already know 4,8 are good, and it is easy to show 2 and 6 are not good.
10 is good because 1,2,3,4...10= 2,3,4,6,10 and 1,5,7,8,9 and this is a good partition. So by the first property all numbers of the form 4m+10n where m,n are nonnegative integers are good. Now one can prove all even numbers which are larger than 10 are of this form. Just use simple Euclidean-level-arithemetic for it.
So the result is among all the even numbers the good numbers are
4,8,10,12,14,16,18,20,22,24,26,28,30,..... all even numbers after ....
3 楼
| 引用 (jumper1127 @ 2007年04月12日 18时58分) |
|
定义正整数n为“好数”,如果n具有如下特性: 集合{1,2,3, ..., n}能被分成两个不同的集合S和T,集合S中所有元素的平均数是集合T中的一个元素,同时集合T中所有元素的平均数是集合S中的一个元素。 例如4是一个“好数”。因为集合{1,2,3,4}可以被分成两个集合{1,3}和{2,4}。 问:(1)哪些偶数是“好数”? (2)证明质数都不是“好数”。 我试着做了一下。只要是4的倍数应该都是“好数”。只要分成奇数和偶数两个集合就可以得证。不过是不是只有4的倍数才可以呢?如何证明? 如果只有4的倍数才是“好数”这个命题成立,那么第二问就可以轻易解决了。 希望我的想法不要成为大家思考的枷锁。或许应该有更广阔的想法。 请帮忙解答一下,多谢了! 不得已才发到这边来,因为实在是有些难度。但愿有朋友能给予解答。 |
专门有本书讲各种各样的好数问题