Problem 1
For a positive integer , denote by and the sum and product, respectively, of the digits of . Show that for each positive integer , there exist positive integers satisfying and for , where .
Step 2 of 3: Compute the middle sums and products
Detailed analysis
The digit sum is twice the number of twos plus the number of ones, while the digit product is two to the number of twos. The chosen multiplicities therefore give the displayed values.