there is a lock ..only 4 digits are required to open it.if the numbers are (0-9) you can use the numbers more then once...In how many ways are there to open the lock? PLEASE HELP MEDAL!!!
0000 to 9999
9999?
+1
include 0000
yeah the numbers are 0 to 9 and they can repeat
Is this a permutation or combination not sure
there are 10 numbers to choose from (0,1,2...,9)
thanks for that site I will definantly check it out...............yeah there are ten number
then what the next step would be?
The problem is a permutations with repetition... 10^4 = 10 000 ways to open
look at the permutations with repetition , it is towards the top of that page
the number of choices for each place, does not reduce if a number is already used, so you have 10 choices for the first space, 10 for the second... and so on
ok I got if....but now what if the number cannot repeat..??
I just need to multiply 9x8x7x6??
then if a number is used , the next space has 1 less to choose from
that is where the factorial thing comes in
but, you want to cut it off depending on how many numbers you are choosing , here is 4
so take 10 factorial, then divide that by (10-4) factorial
that will give you \[\frac{ 10*9*8*7*6*5*4*3*2*1 }{ 6*5*4*3*2*1 } = 10*9*8*7\]
5040
yeah, if you cant have double numbers in the combination
alright.thanks a lot for you help DanJs
welcome, use that page i linked, it is all there pretty clear.
Join our real-time social learning platform and learn together with your friends!