Let S denote the set of 4-digit numbers abcd such that a>b>c>d, and P denote the set of 5-digit numbers having product of digits equal to 20. Then n(S)+n(P) is equal to \_\_\_\_\_\_.
Answer: 260
Solutions · 1
Official solution
For S: Any 4 distinct digits chosen from {0,1,…,9} form exactly one number with digits in strictly decreasing order. So n(S)=(410)=210.
For P: 5-digit numbers whose digits multiply to 20. Possible digit multisets (using digits 1--9):
- {5,4,1,1,1}: arrangements =3!5!=20
- {5,2,2,1,1}: arrangements =2!2!5!=30n(P)=20+30=50n(S)+n(P)=210+50=260