Difference between revisions of "2019 Mock AMC 10B Problems/Problem 20"
Line 9: | Line 9: | ||
No even numbers can exist next to each other, since they are divisible by <math>2</math>. This leaves <math>4</math> possible sequences for the even numbers to occupy: <math>(a_1, a_3, a_5)</math>, <math>(a_2, a_4, a_6)</math>, <math>(a_1, a_3, a_6)</math>, and <math>(a_1, a_4, a_6)</math>. | No even numbers can exist next to each other, since they are divisible by <math>2</math>. This leaves <math>4</math> possible sequences for the even numbers to occupy: <math>(a_1, a_3, a_5)</math>, <math>(a_2, a_4, a_6)</math>, <math>(a_1, a_3, a_6)</math>, and <math>(a_1, a_4, a_6)</math>. | ||
− | Case #1: There are <math>2 + 2 + 4 + 4 = 12</math> cases where the <math>6</math> is on the end of a sequence. If so, there is <math>1</math> place where the <math>3</math> cannot go. The <math>1</math> and <math>5</math> are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases is <math>12( 3 \cdot 2 \cdot 1 - 2) = 48</math>. | + | Case #1: There are <math>2 + 2 + 4 + 4 = 12</math> cases where the <math>6</math> is on the end of a sequence. If so, there is <math>1</math> place where the <math>3</math> cannot go. The <math>1</math> and <math>5</math> are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases is <math>12( 3 \cdot 2 \cdot 1 - 2) = 48</math>. (<math>-2</math> represents the number of cases with a <math>3</math> next to a <math>6</math>.) |
− | Case #2: There are <math>2 + 2 + 4 + 4 = 16</math> cases where the <math>6</math> is in the middle of a sequence. If so, there are <math>2</math> places where the <math>3</math> can go. The <math>1</math> and <math>5</math> are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases us <math>12(3 \cdot 2 \cdot 1 - 4) = 24</math>. | + | Case #2: There are <math>2 + 2 + 4 + 4 = 16</math> cases where the <math>6</math> is in the middle of a sequence. If so, there are <math>2</math> places where the <math>3</math> can go. The <math>1</math> and <math>5</math> are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases us <math>12(3 \cdot 2 \cdot 1 - 4) = 24</math>. (<math>-4</math> represents the number of cases with a <math>3</math> next to a <math>6</math>.) |
Therefore, the number of factor-hating permutations <math>= 24 + 48 = \boxed{72}</math>. | Therefore, the number of factor-hating permutations <math>= 24 + 48 = \boxed{72}</math>. |
Revision as of 11:01, 4 November 2019
Problem
Define a permutation of the set to be if for all . Find the number of permutations.
Solution
No even numbers can exist next to each other, since they are divisible by . This leaves possible sequences for the even numbers to occupy: , , , and .
Case #1: There are cases where the is on the end of a sequence. If so, there is place where the cannot go. The and are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases is . ( represents the number of cases with a next to a .)
Case #2: There are cases where the is in the middle of a sequence. If so, there are places where the can go. The and are relatively prime to all numbers in this set, so there is no direct restriction on them. The number of cases us . ( represents the number of cases with a next to a .)
Therefore, the number of factor-hating permutations .