Maths Olympiad Prep

Track / Stage 4 / 284 of 340 #1024 of 2444

Problem 1024

AMC 12 late, AIME early
Combinatorics Difficulty 4.9 Find the answer HMMT February

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. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official 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}.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.