返回题库

AIME 2017 I · 第 12 题

AIME 2017 I — Problem 12

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem 12

Call a set SS product-free if there do not exist a,b,cSa, b, c \in S (not necessarily distinct) such that ab=ca b = c. For example, the empty set and the set {16,20}\{16, 20\} are product-free, whereas the sets {4,16}\{4, 16\} and {2,8,16}\{2, 8, 16\} are not product-free. Find the number of product-free subsets of the set {1,2,3,4,...,7,8,9,10}\{1, 2, 3, 4,..., 7, 8, 9, 10\}.

解析

Solution 1 (Casework)

We shall solve this problem by doing casework on the lowest element of the subset. Note that the number 11 cannot be in the subset because 11=11*1=1. Let SS be a product-free set. If the lowest element of SS is 22, we consider the set {3,6,9}\{3, 6, 9\}. We see that 5 of these subsets can be a subset of SS ({3}\{3\}, {6}\{6\}, {9}\{9\}, {6,9}\{6, 9\}, and the empty set). Now consider the set {5,10}\{5, 10\}. We see that 3 of these subsets can be a subset of SS ({5}\{5\}, {10}\{10\}, and the empty set). Note that 44 cannot be an element of SS, because 22 is. Now consider the set {7,8}\{7, 8\}. All four of these subsets can be a subset of SS. So if the smallest element of SS is 22, there are 534=605*3*4=60 possible such sets.

If the smallest element of SS is 33, the only restriction we have is that 99 is not in SS. This leaves us 26=642^6=64 such sets.

If the smallest element of SS is not 22 or 33, then SS can be any subset of {4,5,6,7,8,9,10}\{4, 5, 6, 7, 8, 9, 10\}, including the empty set. This gives us 27=1282^7=128 such subsets.

So our answer is 60+64+128=25260+64+128=\boxed{252}.

Solution 2 (PIE)

We will consider the 29=5122^9 = 512 subsets that do not contain 1. A subset is product-free if and only if it does not contain one of the groups {2,4},{3,9},{2,3,6},\{2, 4\}, \{3, 9\}, \{2, 3, 6\}, or {2,5,10}\{2, 5, 10\}. There are 272^7 subsets that contain 2 and 4 since each of the seven elements other than 2 and 4 can either be in the subset or not. Similarly, there are 272^7 subsets that contain 3 and 9, 262^6 subsets that contain 2, 3, and 6, and 262^6 subsets that contain 2, 5, and 10. The number of sets that contain one of the groups is:

27+27+26+26=3842^7 + 2^7 + 2^6 + 2^6 = 384 For sets that contain two of the groups, we have:

25+25+25+25+24+24=1602^5 + 2^5 + 2^5 + 2^5 + 2^4 + 2^4 = 160 For sets that contain three of the groups, we have:

24+23+23+23=402^4 + 2^3 + 2^3 + 2^3 = 40 For sets that contain all of the groups, we have:

22=42^2 = 4 By the principle of inclusion and exclusion, the number of product-free subsets is

512384+16040+4=252512 - 384 + 160 - 40 + 4 = \boxed{252} .

Solution 3

Let XX be a product-free subset, and note that 1 is not in xx. We consider four cases:

1.) both 2 and 3 are not in XX. Then there are 27=1282^7=128 possible subsets for this case.

2.) 2 is in XX, but 3 is not. Then 4 is not in XX, so there are 26=642^6=64 subsets; however, there is a 14\frac{1}{4} chance that 5 and 10 are both in XX, so there are 6434=4864\cdot \frac{3}{4}=48 subsets for this case.

3.) 2 is not in XX, but 3 is. Then, 9 is not in XX, so there are 26=642^6=64 subsets for this case.

4.) 2 and 3 are both in XX. Then, 4, 6, and 9 are not in XX, so there are 24=162^4=16 total subsets; however, there is a 14\frac{1}{4} chance that 5 and 10 are both in XX, so there are 1634=1216\cdot \frac{3}{4}=12 subsets for this case.

Hence our answer is 128+48+64+12=252128+48+64+12=\boxed{252}. -Stormersyle

Solution 4

First, ignore 7 as it does not affect any of the other numbers; we can multiply by 2 later (its either in or out).

Next, we do casework based on whether 2, 3, or 5 are in the set (23=82^3 = 8 quick cases). For each of the cases, the numbers will be of two types ---

1. They cannot be in the set because they form a product

2. Whether we add the number to the set or not, it does not affect the rest of the numbers. These numbers simply add a factor of 2 to the case.

For example, in the case where all three are present, we can see that 4,6,9,104, 6, 9, 10 are of type 1. However, 88 is of type 2. Therefore this case contributes 2.

Summing over the 8 cases we get 2+4+8+16+16+16+32+32=126.2 + 4 + 8 + 16 + 16 + 16 + 32 + 32 = 126. Multiplying by 22 because of the 77 gives 252.252.

Solution 5

Note that if any element s6s\geq6 makes an invalid set, it must be cc of ab=cab=c. Otherwise, ab12>10ab\geq12>10 so no ab=cab=c will suffice. Therefore, whether or not an element s6s\geq6 depends only on the previous elements 1ω51\leq\omega\leq5.

First, if a set is product-free, it must never contain an element ω=1\omega=1 or 11=11\cdot1=1.

We do casework on the subset of S1,2,3,4,5=s1S\in{1,2,3,4,5}=s_1 to determine S6,7,8,9,10=s2S\in{6,7,8,9,10}=s_2 (There are only 12 to cover so we just list them out):

When it is empty, there are clearly no restrictions for s2s_2 so there are 25=322^5=32 cases.

s1=2,s1=4,s1=5s_1={2}, s_1={4}, s_1={5} has no restrictions s2s_2 so we get 253=962^5\cdot3=96 total cases.

s1=3s_1=3 only cannot contain 9 so there are 24=162^4=16 cases.

s1=2,5;s1=3,4;s1=3,5s_1={2, 5}; s_1={3, 4}; s_1={3, 5} each have one restriction in s2s_2 so there are 243=482^4\cdot3=48 ways.

s1=2,3s_1={2, 3} has 2 restrictions (6 and 9) so there are 23=82^3=8 ways.

s1=4,5s_1={4, 5} has no restrictions so there are 25=322^5=32 ways.

s1=2,3,5s_1={2, 3, 5} has 3 restrictions (6, 9, and 10) so there are 22=42^2=4 ways.

s1=3,4,5s_1={3, 4, 5} has 1 restriction so there are 24=162^4=16 cases.

Summing the numbers, we get 32+96+16+48+8+32+4+16=25232+96+16+48+8+32+4+16=\boxed{252}.

Solution 6 (simpler casework)

As before, every set with the property cannot contain (2,3,6),(2,5,10),(3,9)(2, 3, 6), (2, 5, 10), (3, 9), or (2,4)(2, 4).

Case 1: SS contains 2. In this case, seperate the numbers 3, 4, ...10 (excluding 4) into three sets, [5,10],[3,6,9],[7,8][5, 10], [3, 6, 9], [7, 8]. The first set has 3 choices, since SS can contain 5 or 10 but not both. The second set then has 233=52^3-3=5 valid choices, excluding (3,6)(3, 6) and (3,9);(3,6,9)(3, 9); (3, 6, 9). 7 and 8 do not appear in any of the prohibited pairs, and therefore have 22=42^2=4 choices. Multiplying 3543\cdot 5\cdot 4, we have 60 options.

Case 2: SS does not contain 2. The only excluded pair possible is (3,9)(3, 9). Split the set [3,4,5,6,7,8,9,10][3, 4, 5, 6, 7, 8, 9, 10] into [3,9][3, 9] and [4,5,6,7,8,10][4, 5, 6, 7, 8, 10]. The first has 221=32^2-1=3 choices, excluding (3,9)(3, 9), and the second has 26=642^6=64. Multiplying, we have 192+60=252192+60=\boxed{252}.

~Gauss247

Video Solution by OmegaLearn

https://youtu.be/jRZQUv4hY_k?t=504

~ pi_is_3.14