Maths Olympiad Prep

Library / /192 of 860

Combinatorics Difficulty 4.9 AIME Find the answer

How many non-empty subsets of {1,2,3,4,5,6,7,8}\{1,2,3,4,5,6,7,8\} have exactly kk elements and do not contain the element kk for some k=1,2,,8k=1,2, \ldots, 8.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Probably the easiest way to do this problem is to count how many non-empty subsets of {1,2,,n}\{1,2, \ldots, n\} have kk elements and do contain the element kk for some kk. The element kk must have k1k-1 other elements with it to be in a subset of kk elements, so there are (n1k1)\binom{n-1}{k-1} such subsets. Now k=1n(n1k1)=(1+1)n1=2n1\sum_{k=1}^{n}\binom{n-1}{k-1}=(1+1)^{n-1}=2^{n-1}, so that is how many non-empty sets contain some kk and have kk elements. The set {1,2,,n}\{1,2, \ldots, n\} has 2n2^{n} subsets (each element either is or is not in a particular subset), one of which is the empty set, so the number of non-empty subsets of {1,2,3,4,5,6,7,8}\{1,2,3,4,5,6,7,8\} have exactly kk elements and do not contain the element kk for some kk is 2n2n11=2n112^{n}-2^{n-1}-1=2^{n-1}-1. In the case n=8n=8, this yields 127\mathbf{127}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.