lyzhou1990
New member
- Joined
- Jul 24, 2006
- Messages
- 17
Hello,
I came across one of these problems in yet another of my forays into the realm of practice tests for subject tests. Here it is:
35. How many 5 digit integers do not contain successive digits that are the same?
A) 10^5
B) 9^5
C) 9 x 10^4
D) (9^2) x 8 x 7 x 6
E) 9 x 8 x 7 x 6 x 5
My problem is that I have no idea how to figure this out without using a "brute force" method (i.e. counting them out...one by one by one, FOREVER).
The book says that the answer is B, and gave the following cryptic explanation:
~~~~~~
9 9 9 9 9
| |
| |---> cannot be the same as the immediate left hand neighbor
|
|----> 0 cannot be the leftmost digit
~~~~~~
I have no idea what this means, but would like to know, so that the next time I come across a similar problem I won't have to resort to the tiresome brute-force method again.
Thanks.
I came across one of these problems in yet another of my forays into the realm of practice tests for subject tests. Here it is:
35. How many 5 digit integers do not contain successive digits that are the same?
A) 10^5
B) 9^5
C) 9 x 10^4
D) (9^2) x 8 x 7 x 6
E) 9 x 8 x 7 x 6 x 5
My problem is that I have no idea how to figure this out without using a "brute force" method (i.e. counting them out...one by one by one, FOREVER).
The book says that the answer is B, and gave the following cryptic explanation:
~~~~~~
9 9 9 9 9
| |
| |---> cannot be the same as the immediate left hand neighbor
|
|----> 0 cannot be the leftmost digit
~~~~~~
I have no idea what this means, but would like to know, so that the next time I come across a similar problem I won't have to resort to the tiresome brute-force method again.
Thanks.