[Math] Number of even numbers with sum of digits less than 12

combinatorics

How many positive three digit even numbers lesser than 700 are there with all three different digits and where the sum of the three digits is 12 or less ?

Am I supposed to write solve the expression for each of the 12 cases like solution for
a + b + C=12, 11, 10…1 and then add them together?

Is there a better approach to this problem?

Best Answer

I would just enter the numbers 2 through 698 into a spreadsheet, use the mod function to extract the digits, and if statements to determine whether the digits are different and sum to less than 12. Then ask it to count the results. The copy function means you only write the things once.

Related Question