2016 AIME I Problems/Problem 8
Problem 8
For a permutation of the digits , let denote the sum of the three -digit numbers , , and . Let be the minimum value of subject to the condition that the units digit of is . Let denote the number of permutations with . Find .
Solution
Solution by jonnyboyg: To minimize , the numbers 1, 2, and 3 must be in the hundreds places. The numbers in the ones places must have a sum of 20. This means that the numbers in the tens places will always have the same sum. One way to do this is 154+267+389=810. Therefore m=810.
To find n, realize that there are 3!=6 ways of ordering the numbers in each of the places. Additionally, there are three possibilities for the numbers in the ones place-4 7 and 9, 5 7 and 8, and 6 7 and 9. Therefore there are 6^3 * 3 ways total, which is 648. ==162.