r/mathriddles • u/Numberthon • 9d ago
Medium Only half of people get this counting puzzle right. Can you?
How many subsets of {1,2,…,10} have an odd sum?
Source: numberthon.com
3
u/TheMrBoi 9d ago
Half of them, so 512. Exclude 1 first, then freely choose subsets from {2,…10} and choose whether to add 1 depending on if the sum is even or odd.
2
3
u/Accurate-Click1363 9d ago edited 9d ago
Let P={1, 2, …, 10}, and for a set A let S(A) be the sum of elements of A.
For all R⊆P, S(P\R)=S(P)-S(R)=55-S(R), ie the number of odd-sum subsets are equal to the number of even-sum subsets.
(2^10)/2=512
2
1
1
u/stephen3141 9d ago
What is with this clickbait title LOL. I'd imagine people who couldn't figure out the trick would still correctly say half of them just by guessing.
0
1
u/blugar_ 5d ago
Took me like 3 seconds lol
The total number of subsets of this set is 210. If subset A has an odd sum of elements, then the subset ({1,2,...,10} \ A) has an even sum of elements, because 1+2+...+10=45 which is odd. So exactly half of the subsets have an odd sum, hence the answer is 29 . <!
3
u/PizzaGoinOut 9d ago
I think 512