Find the number of all 10-digit integers in which no two consecutive digits are the same.?

2009-11-13 9:28 am
Find the number of all 10-digit integers in which no two consecutive digits are the same.

THX.

回答 (1)

2009-11-13 9:38 am
✔ 最佳答案
The first digit can be any of the nine non-zero digits.
The second digit can be any digit EXCEPT for whatever the first one is. So that leaves 10-1 = 9 possibilities.
The third digit can be any digit except for whatever the second digit is. So that has 9 possibilities.
The same logic goes for digits in the 4th through 10th place. So that gives us:

9*9*9*9*9 * 9*9*9*9*9 = 9^10 = 3,486,784,401


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

檢視 Wayback Machine 備份