| 
May 2nd, 2008, 10:23 AM
| | Newbie | | Join Date: May 2008
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | How many combinations..? Hi!
i am having this difficulty at the moment. My Dad has forgotten the combination to his bicycle lock... he knows (believes) it is a combination of 44670. We have tried the more obvious ones such as 07644, and moving the 0 around. I am wondering how many combinations of 44760 are there?
if i've got nothing to do i i'll try them and see. What has stopped me from working it out is the 4 appearing twice, i don't know how that affects these kind of things.
also, just as kind of "i want to know just so i don't try it" kind of thing, if the combination lock has 5 rows of ten numbers, how many combinations of those numbers can there be? we thought it was 10x10x10x10x10 = 100000
Anyway, thanks for any help!
James | 
May 2nd, 2008, 10:42 AM
|  | Bar0n | | Join Date: Apr 2007 Location: South African Republic
Posts: 1,959
Country: Thanks: 1,605
Thanked 1,421 Times in 869 Posts
| | Quote:
Originally Posted by jiminwatford Hi!
i am having this difficulty at the moment. My Dad has forgotten the combination to his bicycle lock... he knows (believes) it is a combination of 44670. We have tried the more obvious ones such as 07644, and moving the 0 around. I am wondering how many combinations of 44760 are there? |  (Assuming the there is one digit doubled, in this case the 4. Note the 4's need not be next to each other for this number of arrangements)
(I suggest writing all the combinations down first on a piece of paper then trying them physically.) Quote:
Originally Posted by jiminwatford if i've got nothing to do i i'll try them and see. What has stopped me from working it out is the 4 appearing twice, i don't know how that affects these kind of things. | Are you quite certain the 4 appears twice? Maybe you should try doubling the 6 or the 7, etc in the combination instead of the 4. Quote:
Originally Posted by jiminwatford also, just as kind of "i want to know just so i don't try it" kind of thing, if the combination lock has 5 rows of ten numbers, how many combinations of those numbers can there be? we thought it was 10x10x10x10x10 = 100000  |  combinations. Quote:
Originally Posted by jiminwatford Anyway, thanks for any help!
James | Hope I could help
__________________ If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| 
May 2nd, 2008, 11:05 AM
| | Newbie | | Join Date: May 2008
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | hi, the four would be the only one doubled as he used the numbers from his birthday and had to use a 0 for the extra line.
i'm not sure i follow. are you saying there is only 10 combinations those numbers can be arranged in? I must have misunderstood, as when i keep the 4s together there is 24 combinations
thanks
James | 
May 2nd, 2008, 11:18 AM
|  | Bar0n | | Join Date: Apr 2007 Location: South African Republic
Posts: 1,959
Country: Thanks: 1,605
Thanked 1,421 Times in 869 Posts
| | Quote:
Originally Posted by jiminwatford hi, the four would be the only one doubled as he used the numbers from his birthday and had to use a 0 for the extra line.
i'm not sure i follow. are you saying there is only 10 combinations those numbers can be arranged in? I must have misunderstood, as when i keep the 4s together there is 24 combinations
thanks
James | I may have made a mistake in my logic somewhere...
Lets rather write it out...
44670
44760
44607
44706
44076
44067
04467
04476
64470
64407
74460
74406
06447
60447
07446
70446
67440
76440
06744
07644
60744
67044
70644
76044
Which is 24 as you calculated. I'll rethink my calculations.
======== What I would try:
44076
44706
44607
44067
__________________ If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| 
May 2nd, 2008, 11:21 AM
|  | Bar0n | | Join Date: Apr 2007 Location: South African Republic
Posts: 1,959
Country: Thanks: 1,605
Thanked 1,421 Times in 869 Posts
| | Oh i get it.  gives us the answer because the fourth digit is the same as the fifth, giving us four distinct digits and not 5.
__________________ If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| 
May 2nd, 2008, 11:59 AM
| | Super Member | | Join Date: May 2006 Location: Lexington, MA (USA)
Posts: 7,278
Thanks: 555
Thanked 4,643 Times in 3,706 Posts
| | | 
May 2nd, 2008, 12:02 PM
|  | Bar0n | | Join Date: Apr 2007 Location: South African Republic
Posts: 1,959
Country: Thanks: 1,605
Thanked 1,421 Times in 869 Posts
| | Soroban, if he says he knows for sure the two fours should be next to each other, wouldn't that change it? (Your solution assumes the fours need not be next to each other, am I right?)
__________________ If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| 
May 2nd, 2008, 12:20 PM
| | Super Member | | Join Date: May 2006 Location: Lexington, MA (USA)
Posts: 7,278
Thanks: 555
Thanked 4,643 Times in 3,706 Posts
| | Hello, janvdl!
Ha . . . I missed the additional constraint: adjacent 4's.
In that case, we have four "numbers" to arrange: . . . Therefore, there are: . "combinations". | 
May 2nd, 2008, 12:33 PM
| | Newbie | | Join Date: May 2008
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | Hi, thanks!
you are right, the 4s don't need to be together. i had worked out the 24 possibilities when keeping the 4s together and none of them worked, so i have to try them seperated. It is unlikely they are actually seperated as my Dad's birthday is in 19'44' so would probably have not seperated but... we need to try all things
i just wish i hade the patience to try all 100,000 options!
thanks | 
May 2nd, 2008, 12:34 PM
|  | Bar0n | | Join Date: Apr 2007 Location: South African Republic
Posts: 1,959
Country: Thanks: 1,605
Thanked 1,421 Times in 869 Posts
| | Quote:
Originally Posted by jiminwatford Hi, thanks!
you are right, the 4s don't need to be together. i had worked out the 24 possibilities when keeping the 4s together and none of them worked, so i have to try them seperated. It is unlikely they are actually seperated as my Dad's birthday is in 19'44' so would probably have not seperated but... we need to try all things
i just wish i hade the patience to try all 100,000 options!
thanks  | Erm... Why not just grind the thing off? its much much easier, unless that lock is worth $1000
__________________ If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 11:06 PM. | | |