Question: how many possible combinations for 3 digit code?
Answer: There are, you see, 3 x 2 x 1 = 6 possible ways of arranging the three digits. Therefore in that set of 720 possibilities, each unique combination of three digits is represented 6 times. So we just divide by 6.