How many positive numbers smaller than 10^n such that their digits are non-decreasing from left to right (e.g.?

2009-11-13 3:49 pm
How many positive numbers smaller than 10^n such that their digits are non-decreasing from left to right (e.g. 233344589)?

回答 (2)

2009-11-13 4:57 pm
✔ 最佳答案
answer
= [(n + 9)! / n!9!] - 1
= C(n+9,n) - 1
2009-11-14 12:13 am
Solution write 9 for n times
Example
10^1; n=1 ; there are 9 positive numbers smaller than 10^1
10^4; n=4 ; there are 9999 positive numbers smaller than 10^4

Good luck!


收錄日期: 2021-05-01 12:56:42
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20091113074950AAAfKjR

檢視 Wayback Machine 備份