How many positive numbers smaller than 10^n such that their digits are non-decreasing from left to right (e.g.?
How many positive numbers smaller than 10^n such that their digits are non-decreasing from left to right (e.g. 233344589)?
回答 (2)
✔ 最佳答案
answer
= [(n + 9)! / n!9!] - 1
= C(n+9,n) - 1
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 備份