Maths Olympiad Prep

Library / /274 of 310

, 2012

Number theory Difficulty 3.6 AMC 10/12 Find the answer Canada

If NN is the smallest positive integer whose digits have a product of 1728, then the sum of the digits of NN is

Pick one

Solution

In order to find NN, which is the smallest possible integer whose digits have a fixed product, we must first find the minimum possible number of digits with this product. (This is because if the integer aa has more digits than the integer bb, then a>ba>b.)

Once we have determined the digits that form NN, then the integer NN itself is formed by writing the digits in increasing order. (Given a fixed set of digits, the leading digit of NN will contribute to the largest place value, and so should be the smallest digit. The next largest place value should get the next smallest digit, and so on.)

Note that the digits of NN cannot include 0, else the product of its digits would be 0.

Also, the digits of NN cannot include 1, otherwise we could remove the 1s and obtain an integer with fewer digits (thus, a smaller integer) with the same product of digits.

Since the product of the digits of NN is 1728, we find the prime factorization of 17281728 to help us determine what the digits are: 1728=9×192=32×3×64=33×261728 = 9 \times 192 = 3^2 \times 3 \times 64 = 3^3 \times 2^6 We must try to find a combination of the smallest number of possible digits whose product is 17281728.

Note that we cannot have 3 digits with a product of 1728 since the maximum possible product of 3 digits is 9×9×9=7299\times 9 \times 9 = 729.

Let us suppose that we can have 4 digits with a product of 1728.

In order for NN to be as small as possible, its leading digit (that is, its thousands digit) must be as small as possible.

From above, this digit cannot be 1.

This digit also cannot be 2, since otherwise the product of the remaining 3 digits would be 864, which is larger than the product of 3 digits can be.

Can the thousands digit be 3? If so, the remaining 3 digits have a product of 576576.

Can 3 digits have a product of 576576?

If one of these 3 digits were 7 or less, then the product of the 3 digits would be at most 7×9×9=5677 \times 9 \times 9 = 567, which is too small.

Therefore, if we have 3 digits with a product of 576576, then each digit is 8 or 9.

Since the product is even, then at least one of the digits would have to be 8, leaving the remaining two digits to have a product of 576÷8=72576 \div 8 = 72.

These two digits would then have to be 8 and 9.

Thus, we can have 3 digits with a product of 576576, and so we can have 4 digits with a product of 17281728 with smallest digit 3.

Therefore, the digits of NN must be 3, 8, 8, 9. The smallest possible number formed by these digits is when the digits are placed in increasing order, and so N=3889N = 3889.

The sum of the digits of NN is 3+8+8+9=283+8+8+9=28.

Want a route through all this instead of an archive? The track puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.