All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Find a subset (Posted on 2005-08-24) Difficulty: 3 of 5
Given N integers a1, a2, ... aN prove there exists a (non empty) subset whose sum is a multiple of N. (Allow repeated numbers in both the original set and its subsets.)

See The Solution Submitted by Federico Kereki    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 4 of 6 |
Consider the N sums
a1
a1 + a2
...
...
a1 + a2 + ... + an

If no two of these N sums have the same residue mod N, then one of the sums has residue 0 mod N, and we are done.

Otherwise, 2 of these sums have the same residue mod N, and we can take their difference.


  Posted by Tan Kiat Chuan on 2005-08-26 04:20:11
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information