Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Pre-University Math Help > Pre-Algebra and Algebra
Reply
 
Thread Tools Display Modes
  #1  
Old May 2nd, 2008, 10:23 AM
Newbie
 
Join Date: May 2008
Posts: 3
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
jiminwatford is on a distinguished road
Default 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
Reply With Quote
Advertisement
 
  #2  
Old May 2nd, 2008, 10:42 AM
janvdl's Avatar
Bar0n

 
Join Date: Apr 2007
Location: South African Republic
Posts: 1,959
Country:
Thanks: 1,605
Thanked 1,421 Times in 869 Posts
janvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant future
Send a message via MSN to janvdl
Default

Quote:
Originally Posted by jiminwatford View Post
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?
{5 \choose 2} = 10 (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 View Post
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 View Post
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
10^5 = 100 000 combinations.

Quote:
Originally Posted by jiminwatford View Post
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.
Reply With Quote
  #3  
Old May 2nd, 2008, 11:05 AM
Newbie
 
Join Date: May 2008
Posts: 3
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
jiminwatford is on a distinguished road
Default

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
Reply With Quote
  #4  
Old May 2nd, 2008, 11:18 AM
janvdl's Avatar
Bar0n

 
Join Date: Apr 2007
Location: South African Republic
Posts: 1,959
Country:
Thanks: 1,605
Thanked 1,421 Times in 869 Posts
janvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant future
Send a message via MSN to janvdl
Default

Quote:
Originally Posted by jiminwatford View Post
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.
Reply With Quote
  #5  
Old May 2nd, 2008, 11:21 AM
janvdl's Avatar
Bar0n

 
Join Date: Apr 2007
Location: South African Republic
Posts: 1,959
Country:
Thanks: 1,605
Thanked 1,421 Times in 869 Posts
janvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant future
Send a message via MSN to janvdl
Default

Oh i get it.

4! 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.
Reply With Quote
  #6  
Old 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
Soroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond repute
Default

Hello, James!

Quote:
My Dad has forgotten the combination to his bicycle lock.
He believes it is a combination of 44670.
I am wondering how many combinations of 44760 there are.

Although it is called a "combination" lock, the order of the digits is significant.


If those were five different digits, there would be 5! = 120 possible sequences.

In each of the 120 sequences, the two 4's can be switched
. . without creating a new sequence.

Hence, our answer is twice as large as it should be.


Therefore, the number of possible "combinations" is: .\frac{120}{2} \:=\:60


~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Here's another approach . . .

\text{We have five spaces to fill: }\;\_\;\;\_\;\;\_\;\;\_\;\;\_

Pick two spaces for the two 4's . . . There are: .{5\choose2} \:=\:10 choices.

The other three digits {0,6,7} can be placed in: .3! \:=\:6 ways.

Therefore, there are: .10 \times 6 \:=\:60 possible "combinations".

Reply With Quote
  #7  
Old May 2nd, 2008, 12:02 PM
janvdl's Avatar
Bar0n

 
Join Date: Apr 2007
Location: South African Republic
Posts: 1,959
Country:
Thanks: 1,605
Thanked 1,421 Times in 869 Posts
janvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant future
Send a message via MSN to janvdl
Default

Quote:
Originally Posted by Soroban View Post
Hello, James!


Although it is called a "combination" lock, the order of the digits is significant.


If those were five different digits, there would be 5! = 120 possible sequences.

In each of the 120 sequences, the two 4's can be switched
. . without creating a new sequence.

Hence, our answer is twice as large as it should be.


Therefore, the number of possible sequences is: .\frac{120}{2} \:=\:60

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.
Reply With Quote
  #8  
Old 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
Soroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond repute
Default

Hello, janvdl!

Ha . . . I missed the additional constraint: adjacent 4's.


In that case, we have four "numbers" to arrange: .\{0,\;\boxed{44},\:6,\:7\}

. . Therefore, there are: .4! = 24 "combinations".

Reply With Quote
  #9  
Old May 2nd, 2008, 12:33 PM
Newbie
 
Join Date: May 2008
Posts: 3
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
jiminwatford is on a distinguished road
Default

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
Reply With Quote
  #10  
Old May 2nd, 2008, 12:34 PM
janvdl's Avatar
Bar0n

 
Join Date: Apr 2007
Location: South African Republic
Posts: 1,959
Country:
Thanks: 1,605
Thanked 1,421 Times in 869 Posts
janvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant futurejanvdl has a brilliant future
Send a message via MSN to janvdl
Default

Quote:
Originally Posted by jiminwatford View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 11:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.