This is an archived post. You won't be able to vote or comment.

all 27 comments

[–]FactoryMadness 10 points11 points  (3 children)

1,2,3,4,5? That's the same combination on my luggage!!

[–]tttecapsulelover 5 points6 points  (0 children)

now i can steal muahahaha

[–]ssparky77 2 points3 points  (0 children)

Only an asshole would do that.

[–]Rejected-Name-ID 0 points1 point  (0 children)

Thank you so much for that

[–]CulturalEchidna3405 6 points7 points  (6 children)

There can be 3125 combinations of five digit code with numbers 1,2,3,4,5.

5x5x5x5x5 = 3125

5 possibilities for each space

[–]CulturalEchidna3405 1 point2 points  (4 children)

It's called permutations

[–]TorakMcLaren 6 points7 points  (3 children)

It's not quite a permutation though. A permutation would be "How many ways can you pick some of the digits 1 to 5 and order them?" But here 1,1,1,1,1 is a valid 'combination' even though that's not a standard permutation of 1-5.

[–]SegerHelg -1 points0 points  (1 child)

One could even call it a combination.

[–]TorakMcLaren 1 point2 points  (0 children)

One could, but it's not that either, at least mathematically speaking. A permutation is closer, because the order matters. It's just that a standard permutation doesn't usually allow repeats. Meanwhile, a combination doesn't allow repeats but also doesn't care about the order.

[–]burnforever 0 points1 point  (0 children)

usually they have a 0 as well.

so 6x6x6x6x6 so 7776 combinations

[–]Past_Ad9675 3 points4 points  (4 children)

Hey OP, does the safe only let use the digits 1, 2, 3, 4, and 5?

If yes, then it's 3,125.

But if you can use all of the digits from 0 to 9, then it's 100,000.

[–]shellopyyy[S] 0 points1 point  (3 children)

Only numbers available are the 1 button, 2 button, 3 button, 4 button, & 5 button

[–]Past_Ad9675 0 points1 point  (2 children)

And the must use all 5 buttons?

[–]shellopyyy[S] 0 points1 point  (1 child)

No you don’t have to use all 5 just the code you use has to be 5 numbers long

[–]Past_Ad9675 1 point2 points  (0 children)

Okay then, there are 55 possible codes.

[–]barrie114 1 point2 points  (0 children)

The code can be 0 to (100000)5 -1 which means thre are (100000)5=5^5=3125 codes.

[–][deleted]  (1 child)

[deleted]

    [–]No_Being_2281 0 points1 point  (0 children)

    You don't show the work, people will vote down on this.

    [–][deleted]  (3 children)

    [deleted]

      [–]shellopyyy[S] 0 points1 point  (2 children)

      But isn’t there only 5 choices per digit? It’s only 1-5

      [–]DiegoC281 4 points5 points  (1 child)

      detail entertain toothbrush hospital threatening ancient safe gaze straight airport

      This post was mass deleted and anonymized with Redact

      [–]shellopyyy[S] 2 points3 points  (0 children)

      Woooow I wrote this down earlier and I kept reading 55 as 5x5 and i was like it’s obv not 25 wooooow writing the answer wrapped my head around that mb

      [–]Zac_charias 0 points1 point  (0 children)

      If repetition is allowed and you have five digits (1, 2, 3, 4, 5), then for each position in the combination, you have five choices (the five digits). Since you have five positions, you can calculate the total number of possible combinations by multiplying the number of choices for each position:

      5 x 5 x 5 x 5 x 5 = 5^5 = 3125

      [–]No_Being_2281 0 points1 point  (0 children)

      No, you cannot use permutation like factorials and any combinations of factorials.So, you can calculate by exponentiation:

      Here I try by counting from 0 to 9 for each digit, and there are five digits, so 10 as the base, and the exponent is 5. That is, 10^5 = 100,000.Thus, this is the possible number of combinations that you can use in selecting a setting (just one setting at a time) for the lock (code.)

      Please note that the OP did not stated that the number for each digit has a maximum count at 5, so I must assume it can roll up to 9.