chaitanyareddy wrote:How many 5-digit positive integers exist where no two consecutive digits are the
same?
A.) 9*9*8*7*6
B.) 9*9*8*8*8
C.) 9^5
D.) 9*8^4
E.) 10*9^4
Soln: C is correct.
The first place has 9 possibilities, since 0 is not to be counted. All others have 9 each,
since you cannot have the digit, which is same as the preceding one.
Hence 9^5
This is the solution given but I feel A is the correct choice.
Could you please explain.
ABCDE --> 5-digit integer
A has 9 possibilities {1,2,3,4,...9} -->9
B has 10 possibilities {0,1,2,3,4 ..9} and exclude one digit from A's set -->9
C has 10 possibilities {0,1,2,3,4 ..9} and exclude one digit from B's set -->9
D has 10 possibilities {0,1,2,3,4 ..9} and exclude one digit from C's set -->9
E has 10 possibilities {0,1,2,3,4 ..9} and exclude one digit from D's set -->9
9^5 and the correct answer is \C
@gmatjeet:
Can someone suggest why is this counting incorrect !!
Working out the solution:
Fifth digit can be anything from 0-9, so 10 possibilities.
Fourth digit can be anything from 0-9 that we didn't use in the 5th slot, so 9 possibilities.
Third digit can be anything from 0-9 that we didn't use in the 4th slot, so 9 possibilities.
Second digit can be anything from 0-9 that we didn't use in the 3rd slot, so 9 possibilities.
First digit can be 1-9 that we didn't use in the 3rd slot , so 8 possibilities.
The total possible combinations in this case are 8*9*9*9*10
Someone please explain and help
Rolling Eyes
we can not start from the end, as we need to assign the
five-digit number first hand and not to find the total possible combination of all numbers starting from units (single-digit numbers) to the five-digit numbers
one needs to develop the combination from A and not from E, which is responsible for units and hence makes good start for single-digit numbers as well
hope this helps