I want all possible combination for a 4 digit number.
But, you can only use the numbers 1,4,5,6,7,8,9,0 And the numbers 1,4 must always be in this combination(i.e you cant have 6589, since both 1 and 4 needs to be in the combination)
It would help if you list all the possibilities, or tell me a fast way to get all the possibilities.
Thanks..........
But, you can only use the numbers 1,4,5,6,7,8,9,0 And the numbers 1,4 must always be in this combination(i.e you cant have 6589, since both 1 and 4 needs to be in the combination)
It would help if you list all the possibilities, or tell me a fast way to get all the possibilities.
Thanks..........
-
first, buy a tire iron, and a balaclava,
place blaclava on head
then threaten to hit the guy who knows the correct combo.
then,
hit and run, get the funds, get it done.
place blaclava on head
then threaten to hit the guy who knows the correct combo.
then,
hit and run, get the funds, get it done.
-
Well, it helps to see how many there are. We have a few possible cases (BTW, plugging numbers in here and rejiggering the order gives all possibilities). I assume you include numbers like 0145 as 4 digit, since otherwise, we have to remove a lot of cases.
1,4,x,y, in arbitrary order, where 1,4 =/=x>y=/=1,4. Then 4!*(6 choose 2) = 24*15 = 360
1,4,x,x. Then 4!/2*6 = 24*3 = 72
1,1,4,x, Then 4!/2*6 = 24*3 = 72
1,4,4,x. Similarly, 72
1,4^3 => 4 choose 3 = 4
1^2,4^2 => 4 choose 2 = 6
1^3,4 => 4 choose 3 = 4
So 360+72*3+4*2+6 = 590 (assuming numbers like 0145 count).
1,4,x,y, in arbitrary order, where 1,4 =/=x>y=/=1,4. Then 4!*(6 choose 2) = 24*15 = 360
1,4,x,x. Then 4!/2*6 = 24*3 = 72
1,1,4,x, Then 4!/2*6 = 24*3 = 72
1,4,4,x. Similarly, 72
1,4^3 => 4 choose 3 = 4
1^2,4^2 => 4 choose 2 = 6
1^3,4 => 4 choose 3 = 4
So 360+72*3+4*2+6 = 590 (assuming numbers like 0145 count).
-
Why do you want to do that? I'm suspicious!
-
Are you a thief?