Hi All,
We're told that a three-digit code for certain logs uses the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 according to the following constraints: the first digit CANNOT be 0 or 1, the second digit MUST be 0 or 1, and the second and third digits CANNOT BOTH be 0 in the same code. We're asked for the total number of possible codes. This question is ultimately about a Permutation - but you'll also have to note that there are a few codes within that permutation that must be REMOVED.
The first digit can be 2, 3, 4, 5, 6, 7, 8 or 9 --> 8 possible digits
The second digit can be 0 or 1 --> 2 possible digits
The third digit can be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9 --> 10 possible digits.... but there is an additional rule (the code CANNOT end in '00').
Without that final 'restriction', there would be (8)(2)(10) = 160 codes
WITH that restriction though, we have to remove 8 of the codes: 200, 300, 400, 500, 600, 700, 800 and 900
Total possible codes = 160 - 8 = 152
Final Answer: B
GMAT assassins aren't born, they're made,
Rich