Possible Combinations To 5 Lock Formula To Find Out All Possible Combinations For A 3-digit Keyless Door Lock?

Formula to find out all possible combinations for a 3-digit keyless door lock? - possible combinations to 5 lock

My office has a 5-button keyless locking the door. It is merely an old mechanical 3 digits for each button activates a lock. There are only 5-digit, 1 to 5 It is almost identical to this, type:

http://www.drillspot.com/pimages/124/12422_300.jpg

I am looking for a way to cover all possible combinations of this CRL. The limitation of this system is that the door of a finger is not used twice in the code, for example, a valid code is 123, but 111 is not, and it is .. not 121 or 112 for what she calls the number of ways to achieve significant reductions of 125, which is what would happen if you could use the same number twice. Is there an Excel (or VBA), which could be used a formula to generate this list?

There is no intelligent answers to try to stop me! :) I have to prove to my boss that it is very dangerous. Like any company that stores a large amount of sensitive information in the premises, and all he needed was a security hole to sink at us!

3 comments:

VFBundy said...

The formula is 5 * 4 * 3 ... of which 60 correspond.

Since there are 60 combos do not just write. However ... I have it for you ....

123
124
125
132
134
135
142
143
145
152
153
154
213
214
215
231
234
235
241
243
245
251
253
254
312
314
315
321
324
325
341
342
345
351
352
354
412
413
415
421
423
425
431
432
435
451
452
453
512
513
514
521
523
524
531
532
534
541
542
543

Bob B said...

There are five options for the first key, four for second, three for the third. Multiply 5 * 4 * 3 are only 60 possible combinations.

dude79 said...

Each key is binary (that is, or is pressed or not).

It gives off a 2 options for 1 (or) 2 options for the 3rd second, 4, 5 It is easy to think that 2 ^ 5 = 32, however, if it exists, it will commit itself strictly to a 3-digit code that C (5,3) is (or C (5.2), if the There are those who do not both give the same answer when pressed)

5! / (2! (5-2)!) = (5 * 4 * 3 * 2 * 1) / (2 * 1 * 3 * 2 * 1) = 10

So, my friend, 10th Bully is not quite a lock of the door.

Post a Comment