Difference between revisions of "2017 AMC 10A Problems/Problem 25"
Mathguy1492 (talk | contribs) m (→Solution 1) |
m (→Solution 3 (Shorter and Not Casework)) |
||
Line 80: | Line 80: | ||
We can overcount and then subtract. | We can overcount and then subtract. | ||
− | We know there are 81 multiples of 11. | + | We know there are <math>81</math> multiples of <math>11</math>. |
− | We can multiply be 6 for each permutation of these multiples. (Yes some multiples don't have 6) | + | We can multiply be <math>6</math> for each permutation of these multiples. (Yes some multiples don't have 6) |
− | Now divide by 2, as if a number abc with digits a, b and c is a multiple of 11, then cab is also a multiple of 11 so we have counted the same permutations twice. | + | Now divide by <math>2</math>, as if a number abc with digits <math>a</math>, <math>b</math>, and <math>c</math> is a multiple of 11, then cab is also a multiple of 11 so we have counted the same permutations twice. |
− | So basically we say that each multiple of 11 has it own 3 permutations (say abc has abc acb and bac where's cab has cab cba and bca). We know that each multiple of 11 has 3 permutations at least as it cannot have 3 repeating digits. | + | So basically we say that each multiple of 11 has it own 3 permutations (say <math>abc</math> has <math>abc</math> <math>acb</math> and <math>bac</math> where's <math>cab</math> has <math>cab</math> <math>cba</math> and <math>bca</math>). We know that each multiple of 11 has 3 permutations at least as it cannot have 3 repeating digits. |
− | Hence we have 243 permutations without subtracting for over count. | + | Hence we have <math>243</math> permutations without subtracting for over count. |
− | Now note that we overcounted cases is which we have 0's at the start of each number. So in theory we could just answer A and move on. | + | Now note that we overcounted cases is which we have 0's at the start of each number. So in theory we could just answer <math>A</math> and move on. |
We can also solve it :/ | We can also solve it :/ | ||
Line 96: | Line 96: | ||
Note that we assigned each multiple of 11 3 permutations. | Note that we assigned each multiple of 11 3 permutations. | ||
− | The last digit is 0 gives 9 possibilities where we overcount by 1 permutation for each of 110,220, ... , 990. | + | The last digit is <math>0</math> gives <math>9</math> possibilities where we overcount by <math>1</math> permutation for each of <math>110, 220, ... , 990</math>. |
The middle digit is 0 gives 8 possibilities where we overcount by 1. | The middle digit is 0 gives 8 possibilities where we overcount by 1. | ||
− | 605, 704, 803, 902 and 506, 407, 308, 209 | + | <math>605, 704, 803, 902</math> and <math>506, 407, 308, 209</math> |
− | Subtracting 17 gives <math>\boxed{\textbf{(A) } 226}</math>. | + | Subtracting <math>17</math> gives <math>\boxed{\textbf{(A) } 226}</math>. |
− | Now, we may ask if there is further overlap (I.e if two of abc and bac and acb were | + | Now, we may ask if there is further overlap (I.e if two of <math>abc</math> and <math>bac</math> and <math>acb</math> were multiples of <math>11</math>) Thankfully, using divisibility rules, this can never happen as taking the divisibility rule mod 11 and adding we get that <math>2a</math>, <math>2b</math>, or <math>2c</math> is congruent to <math>0\ (mod\ 11)</math>. Since <math>a, b, c</math> are digits, this can never happen as none of them can equal 11 and they can't equal 0 as they are the leading digit of a 3 digit number in each of the cases |
~fuzz1 | ~fuzz1 |
Revision as of 15:31, 9 February 2017
Problem
How many integers between and
, inclusive, have the property that some permutation of its digits is a multiple of
between
and
For example, both
and
have this property.
Solution 1
Let the three-digit number be :
If a number is divisible by , then the difference between the sums of alternating digits is a multiple of
.
There are two cases:
and
We now proceed to break down the cases.
:
.
:
, this case results in 110, 220, 330...990. There are two ways to arrange the digits in each of those numbers.
:
, this case results in 121, 231,... 891. There are
ways to arrange the digits in all of those number except the first, and 3 ways ways for the first. This leads to
cases.
:
, this case results in 242, 352,... 792. There are
ways to arrange the digits in all of those number except the first, and 3 ways ways for the first. This leads to
cases.
:
, this case results in 363, 473,...693. There are
ways to arrange the digits in all of those number except the first, and 3 ways ways for the first. This leads to
cases.
:
, this case results in 484 and 594. There are
ways to arrange the digits in all of those number except the first, and 3 ways ways for the first. This leads to
cases.
This case has subcases.
:
.
:
, this cases results in 209, 308, ...506. There are
ways to arrange each of those cases. This leads to
cases.
:
, this cases results in 319, 418, ...616. There are
ways to arrange each of those cases, except the last. This leads to
cases.
:
, this cases results in 429, 528, ...617. There are
ways to arrange each of those cases. This leads to
cases.
...
If we continue this counting, we receive subcases.
~Mathguy1492
Solution 2
We note that we only have to consider multiples of 11 and see how many valid permutations each has. We can do casework on the number of repeating digits that the multiple of 11 has:
All three digits are the same.
By inspection, we find that there are no multiples of 11 here.
Two of the digits are the same, and the third is different.
There are 8 multiples of 11 without a zero that have this property:
121, 242, 363, 484, 616, 737, 858, 979.
Each contributes 3 valid permutations, so there are
permutations in this subcase.
There are 9 multiples of 11 with a zero that have this property:
110, 220, 330, 440, 550, 660, 770, 880, 990.
Each one contributes 2 valid permutations (the first digit can't be zero), so there are
permutations in this subcase.
All the digits are different.
Since there are
multiples of 11 between 100 and 999, there are
multiples of 11 remaining in this case. However, 8 of them contain a zero, namely 209, 308, 407, 506, 605, 704, 803, and 902. Each of those multiples of 11 contributes
valid permutations, but we overcounted by a factor of 2; every permutation of 209, for example, is also a permutation of 902. Therefore, there are
. Therefore, there are
remaining multiples of 11 without a 0 in this case. Each one contributes
valid permutations, but once again, we overcounted by a factor of 2 (note that if a number ABC is a multiple of 11, then so is CBA). Therefore, there are
valid permutations in this subcase.
Adding up all the permutations from all the cases, we have .
Solution 3 (Shorter and Not Casework)
We can overcount and then subtract.
We know there are multiples of
.
We can multiply be for each permutation of these multiples. (Yes some multiples don't have 6)
Now divide by , as if a number abc with digits
,
, and
is a multiple of 11, then cab is also a multiple of 11 so we have counted the same permutations twice.
So basically we say that each multiple of 11 has it own 3 permutations (say has
and
where's
has
and
). We know that each multiple of 11 has 3 permutations at least as it cannot have 3 repeating digits.
Hence we have permutations without subtracting for over count.
Now note that we overcounted cases is which we have 0's at the start of each number. So in theory we could just answer
and move on.
We can also solve it :/ We overcount cases where the Middle digit of the number is 0 and the last digit is 0.
Note that we assigned each multiple of 11 3 permutations.
The last digit is gives
possibilities where we overcount by
permutation for each of
.
The middle digit is 0 gives 8 possibilities where we overcount by 1.
and
Subtracting gives
.
Now, we may ask if there is further overlap (I.e if two of and
and
were multiples of
) Thankfully, using divisibility rules, this can never happen as taking the divisibility rule mod 11 and adding we get that
,
, or
is congruent to
. Since
are digits, this can never happen as none of them can equal 11 and they can't equal 0 as they are the leading digit of a 3 digit number in each of the cases
~fuzz1
See Also
2017 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 24 |
Followed by Last Problem | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AMC 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.