AIME 2025 I · 第 5 题
AIME 2025 I — Problem 5
题目详情
Problem
There are eight-digit positive integers that use each of the digits exactly once. Let be the number of these integers that are divisible by . Find the difference between and .
Video solution by grogg007
https://youtu.be/PNBxBvvjbcU?t=636
解析
Solution 1
Notice that if the 8-digit number is divisible by , it must have an even units digit. Therefore, we can break it up into cases and let the last digit be either or . Due to symmetry, upon finding the total count of one of these last digit cases (we look at last digit here), we may multiply the resulting value by .
Now, we just need to find the number of positions of the remaining numbers such that the units digit is and the number is divisible by . Denote the odd numbered positions to be and the even numbered positions to be (recall ). By the divisibility rule of , we must have:
which is congruent to . Therefore, after simplifying, we must have:
Now consider . Therefore,
which means that
Notice that the minimum of is and the maximum is . The only possible number congruent to in this range is . All that remains is to count all the possible sums of using the values . There are a total of four possibilities:
The arrangement of the odd-positioned numbers () does not matter, so there are arrangements of these numbers. Recall that the triplets above occupy ; the number of arrangements is . Thus, we have possible numbers such that the units digit is . Since we claimed symmetry over the rest of the units digits, we must multiply by , resulting in eight-digit positive integers. Thus, the positive difference between and is .
~ilikemath247365
~LaTeX by eevee9406
Proof of symmetry on last even digit
To see the symmetry in the cases on the last digit , you can cycle through the cases bijectively by adding 2 to each digit .
Solution 2
1. To be multiple of Total of is dividing into two groups of numbers, the difference of sum of two group and need to be or multiple of i.e. only is possible. Number can only be with One group of numbers make different arrangement, two groups make the group makes arrangement. The two group of numbers are alternating by digits. Total number of multiple of is 2. To be multiple of We noticed in each number group, there are two odd two even. So the final answer is above divided by
~Mathzu.club ~Latex by mathkiddus
Solution 3
Let be our 8 digit number. For a number to be a multiple of it must be an even multiple of so must be even and for Let We have three main subcases:
- SC1:
Note that none of the variables can be since is . We know that and Solving this system, we find and After some small bashing we find there are combinations of numbers that will work: the variables can be distinct elements of the sets or , and can be distinct elements of each corresponding set. (So for example, if we chose from we would choose from the "corresponding" set). There are different set pairs, ways to permute and ways to permute giving us ways for this subcase.
- SC2:
is odd, but is even, so if we set up our system of equations for and like we did in sub case 1, we would end up with a fraction for the sums.
- SC3:
Same issue as sub case 2, we will end up with a fraction because is odd.
For every even , there will always be ways for SC1 (pretty easy to confirm this, just do SC1 for ) and ways for SC2 and SC3 since they will always give fractions for the sums when we try to set up our system. Since can be different values, the answer is
~grogg007
Solution 4
Let the number be , based on the rule for divisibility of 11, must be a multiple of 11. Since the sum of all the 8 digits is 36, and the sum of four digits is at least 10, so we can only have . There are 8 ways to sum to 18 using four digits from . The digits on even and odd digits can be permuted, so the number of multiples of 11 is , and half of these numbers have even digits on the units digit, so the number of multiple of 22 is , the answer to this problem is .
~[Dan Li]
Video Solution by SpreadTheMathLove
https://www.youtube.com/watch?v=P6siafb6rsI
(also the person in the Youtube video wrote the final answer wrong, it was supposed to be 279 and he accidentally wrote it as 729)
~Mathycoder
Video Solution - Divisbility by 22 by HungryCalculator
https://www.youtube.com/watch?v=cMEjYTkLeto&t
~HungryCalculator