SOLUTION: I am trying to figure out the combination on my safe that I forgot. I contacted a locksmith and my options are try to figure it out or as a last resort he has to drill the door. It

Algebra ->  Permutations -> SOLUTION: I am trying to figure out the combination on my safe that I forgot. I contacted a locksmith and my options are try to figure it out or as a last resort he has to drill the door. It      Log On


   



Question 578164: I am trying to figure out the combination on my safe that I forgot. I contacted a locksmith and my options are try to figure it out or as a last resort he has to drill the door. It is a 6 digit electronic lock. Gives you 2 tries then have to wait 5 minutes. I'm almost certain I used 581 which is part of a certain number of mine backwards. lol How can I figure out all the posible combinations to try? Thank you! My email is snowman800@lycos.com
Answer by dfrazzetto(283) About Me  (Show Source):
You can put this solution on YOUR website!

With six digits, and the order is important (permutations) there could be many thousands of options.
where was the 581? the first 3 digits? the last 3?
Assuming the first 3 digits are 581 and 0 is allowed:
5 8 1 _ _ _
5 8 1 * 10 * 10 * 10, so there could be 10^3 = 1000 possible cominations
If you don't know where the 581 is in the sequence it could be
_ 5 8 1 _ _
_ _ 5 8 1 _
_ _ _ 581
giving rise to 3 other sets of 1000, so 4 x 1000 = 4000 combinations in total