How many five-digit numbers have digits that add up to 10?
Type in the answer (TITA): no options.
Show answer & solution
Correct answer: 714
Solution: Let the digits be d₁…d₅ with d₁ ≥ 1. Put e = d₁ − 1, so e + d₂ + … + d₅ = 9 with every term ≥ 0: C(13, 4) = 715 solutions. A digit cannot exceed 9; the only way to break that here is e = 9 (d₁ = 10) with the rest 0, which is 1 solution. So 715 − 1 = 714.