Employees of a certain company are each to receive a unique 7-digit identification code consisting of the digits 0, 1, 2, 3, 4, 5, and 6 such that no digit is used more than once in any given code. In valid codes, the second digit in the code is exactly twice the first digit. How many valid codes are there?
I see a few ambiguity on this problem, and hence the solution too.
1) 7-digit code is not same as 7-digit number - that is, a number can not have highest digit as 0, but a code can have. eg: 0654321 is a valid 7 digit code, but not a a valid 7 digit number. So why the solution does not consider 0 on the highest digit.
2) What is first digit ? Is it unit digit or the highest digit ? I solved the question by assuming first digit is unit digit - I considered 0 a valid possibility, and 2nd digit as any of 1-to-6. Obviously with this I could not find any answer choice with 960 as an answer. I re-did and could get what author intended.
But in summary, I am bit confused on such ambiguities in the problem. Please clarify.