Difference between revisions of "2017 AIME I Problems/Problem 12"

(Solution 2(PIE) (Should be explained in more detail))
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
==Problem 12==
 
==Problem 12==
Call a set <math>S</math> product-free if there do not exist <math>a, b, c \in S</math> (not necessarily distinct) such that <math>a b = c</math>. For example, the empty set and the set <math>\{16, 20\}</math> are product-free, whereas the sets <math>\{4, 16\}</math> and <math>\{2, 8, 16\}</math> are not product-free. Find the number of product-free subsets of the set <math>\{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}</math>.
+
Call a set <math>S</math> product-free if there do not exist <math>a, b, c \in S</math> (not necessarily distinct) such that <math>a b = c</math>. For example, the empty set and the set <math>\{16, 20\}</math> are product-free, whereas the sets <math>\{4, 16\}</math> and <math>\{2, 8, 16\}</math> are not product-free. Find the number of product-free subsets of the set <math>\{1, 2, 3, 4,..., 7, 8, 9, 10\}</math>.
  
==Solution 1(Casework)==
+
==Solution 1 (Casework)==
  
 
We shall solve this problem by doing casework on the lowest element of the subset. Note that the number <math>1</math> cannot be in the subset because <math>1*1=1</math>. Let <math>S</math> be a product-free set. If the lowest element of <math>S</math> is <math>2</math>, we consider the set <math>\{3, 6, 9\}</math>. We see that 5 of these subsets can be a subset of <math>S</math> (<math>\{3\}</math>, <math>\{6\}</math>, <math>\{9\}</math>, <math>\{6, 9\}</math>, and the empty set). Now consider the set <math>\{5, 10\}</math>. We see that 3 of these subsets can be a subset of <math>S</math> (<math>\{5\}</math>, <math>\{10\}</math>, and the empty set). Note that <math>4</math> cannot be an element of <math>S</math>, because <math>2</math> is. Now consider the set <math>\{7, 8\}</math>. All four of these subsets can be a subset of <math>S</math>. So if the smallest element of <math>S</math> is <math>2</math>, there are <math>5*3*4=60</math> possible such sets.
 
We shall solve this problem by doing casework on the lowest element of the subset. Note that the number <math>1</math> cannot be in the subset because <math>1*1=1</math>. Let <math>S</math> be a product-free set. If the lowest element of <math>S</math> is <math>2</math>, we consider the set <math>\{3, 6, 9\}</math>. We see that 5 of these subsets can be a subset of <math>S</math> (<math>\{3\}</math>, <math>\{6\}</math>, <math>\{9\}</math>, <math>\{6, 9\}</math>, and the empty set). Now consider the set <math>\{5, 10\}</math>. We see that 3 of these subsets can be a subset of <math>S</math> (<math>\{5\}</math>, <math>\{10\}</math>, and the empty set). Note that <math>4</math> cannot be an element of <math>S</math>, because <math>2</math> is. Now consider the set <math>\{7, 8\}</math>. All four of these subsets can be a subset of <math>S</math>. So if the smallest element of <math>S</math> is <math>2</math>, there are <math>5*3*4=60</math> possible such sets.
Line 12: Line 12:
 
So our answer is <math>60+64+128=\boxed{252}</math>.
 
So our answer is <math>60+64+128=\boxed{252}</math>.
  
==Solution 2(PIE) (Should be explained in more detail)==
+
==Solution 2 (PIE)==
We cannot have the following pairs or triplets: <math>\{2, 4\}, \{3, 9\}, \{2, 3, 6\}, \{2, 5, 10\}</math>.
+
We will consider the <math>2^9 = 512</math> subsets that do not contain 1. A subset is product-free if and only if it does not contain one of the groups <math>\{2, 4\}, \{3, 9\}, \{2, 3, 6\},</math> or <math>\{2, 5, 10\}</math>. There are <math>2^7</math> 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 <math>2^7</math> subsets that contain 3 and 9, <math>2^6</math> subsets that contain 2, 3, and 6, and <math>2^6</math> subsets that contain 2, 5, and 10. The number of sets that contain one of the groups is:
Since there are <math>2^9</math> = <math>512</math> subsets(<math>1</math> isn't needed) we have the following:
+
<cmath>2^7 + 2^7 + 2^6 + 2^6 = 384</cmath>
The total number of sets with at least one of the groups (with repeats)
+
For sets that contain two of the groups, we have:
=<math>2^7 + 2^7 + 2^6 + 2^6</math>
+
<cmath>2^5 + 2^5 + 2^5 + 2^5 + 2^4 + 2^4 = 160</cmath>
= <math>384</math>
+
For sets that contain three of the groups, we have:
The total number of sets with at least two of the groups (with repeats)
+
<cmath>2^4 + 2^3 + 2^3 + 2^3 = 40</cmath>
= 1st & 2nd pair <math>+</math> 1st & 3rd pair <math>+</math> 1st & 4th pair <math>+</math> 2nd & 3rd pair <math>+</math> 2nd & 4th pair <math>+</math> 3rd & 4th pair
+
For sets that contain all of the groups, we have:
= <math>2^5 + 2^5 + 2^5 + 2^5 + 2^4 + 2^4</math>
+
<cmath>2^2 = 4</cmath>
= <math>160</math>
+
By the principle of inclusion and exclusion, the number of product-free subsets is
The total number of sets with at least three of the groups (with repeats)
+
<cmath>512 - (384 - 160 + 40 - 4) = \boxed{252}</cmath>.
= 1st, 2nd, & 3rd groups <math>+</math> 1st, 2nd & 4th groups <math>+</math> 1st, 3rd, & 4th groups <math>+</math> 2nd, 3rd, & 4th groups
+
 
= <math>2^4 + 2^3 + 2^3 + 2^3</math>
+
==Solution 3==
= <math>40</math>
+
Let <math>X</math> be a product-free subset, and note that 1 is not in <math>x</math>. We consider four cases:
The total number of sets with all of the groups.
+
 
= <math>2^2</math>
+
1.) both 2 and 3 are not in <math>X</math>. Then there are <math>2^7=128</math> possible subsets for this case.
= <math>4</math>
+
 
<math>(512-(384-160+40-4)) \implies \boxed{252}</math>.
+
2.) 2 is in <math>X</math>, but 3 is not. Then 4 in not in <math>X</math>, so there are <math>2^6=64</math> subsets; however, there is a <math>\frac{1}{4}</math> chance that 5 and 10 are both in <math>X</math>, so there are <math>64\cdot \frac{3}{4}=48</math> subsets for this case.
 +
 
 +
3.) 2 is not in <math>X</math>, but 3 is. Then, 9 is not in <math>X</math>, so there are <math>2^6=64</math> subsets for this case.
 +
 
 +
4.) 2 and 3 are both in <math>X</math>. Then, 4, 6, and 9 are not in <math>X</math>, so there are <math>2^4=16</math> total subsets; however, there is a <math>\frac{1}{4}</math> chance that 5 and 10 are both in <math>X</math>, so there are <math>16\cdot \frac{3}{4}=12</math> subsets for this case.
 +
 
 +
Hence our answer is <math>128+48+64+12=\boxed{252}</math>. -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 (<math>2^3 = 8</math> 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 <math>4, 6, 9, 10</math> are of type 1. However, <math>8</math> is of type 2. Therefore this case contributes 2.
 +
 
 +
Summing over the 8 cases we get <math>2 + 4 + 8 + 16 + 16 + 16 + 32 + 32 = 126.</math> Multiplying by <math>2</math> because of the <math>7</math> gives <math>252.</math>
  
 
==See Also==
 
==See Also==
 
{{AIME box|year=2017|n=I|num-b=11|num-a=13}}
 
{{AIME box|year=2017|n=I|num-b=11|num-a=13}}
 
{{MAA Notice}}
 
{{MAA Notice}}

Revision as of 19:41, 15 August 2021

Problem 12

Call a set $S$ product-free if there do not exist $a, b, c \in S$ (not necessarily distinct) such that $a b = c$. For example, the empty set and the set $\{16, 20\}$ are product-free, whereas the sets $\{4, 16\}$ and $\{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\}$.

Solution 1 (Casework)

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

If the smallest element of $S$ is $3$, the only restriction we have is that $9$ is not in $S$. This leaves us $2^6=64$ such sets.

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

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

Solution 2 (PIE)

We will consider the $2^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\},$ or $\{2, 5, 10\}$. There are $2^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 $2^7$ subsets that contain 3 and 9, $2^6$ subsets that contain 2, 3, and 6, and $2^6$ subsets that contain 2, 5, and 10. The number of sets that contain one of the groups is: \[2^7 + 2^7 + 2^6 + 2^6 = 384\] For sets that contain two of the groups, we have: \[2^5 + 2^5 + 2^5 + 2^5 + 2^4 + 2^4 = 160\] For sets that contain three of the groups, we have: \[2^4 + 2^3 + 2^3 + 2^3 = 40\] For sets that contain all of the groups, we have: \[2^2 = 4\] By the principle of inclusion and exclusion, the number of product-free subsets is \[512 - (384 - 160 + 40 - 4) = \boxed{252}\].

Solution 3

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

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

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

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

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

Hence our answer is $128+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 ($2^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, 10$ are of type 1. However, $8$ 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.$ Multiplying by $2$ because of the $7$ gives $252.$

See Also

2017 AIME I (ProblemsAnswer KeyResources)
Preceded by
Problem 11
Followed by
Problem 13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png