Find the number of positive integers that satisfy the following conditions: * Each digit is a 1 or a 2 or a 3 * The sum of the digits is 10
There are 133 numbers that work.
But what is your ceiling? Up to 1000, or up to 1,000,000, or up to 10^100 ??!