Results 1 to 11 of 11

Thread: Marbles, Just for fun...

  1. #1

    Thread Starter
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Marbles, Just for fun...

    Actually this is not really a maths question, more a logic one. Hope that's okay, I thought it might degenerate too much in chit chat.
    This is one of a few questions posed in job interview. It's supposed to be answered quite quickly, it's simplicity reflects this. I'm just posting it here because, well, I like it and you lot might too.


    You are given a bag of 24 marbles all identical is size and weight except for one which is ever so slightly heavier.

    At you disposal is a set of scales.

    How many times do you need to use the scales in order to determine which is the heavier marble?

  2. #2
    Lively Member
    Join Date
    Jun 2002
    Posts
    111

    Re: Marbles, Just for fun...

    4?

    12 --/\-- 12 take the heavy side

    6 --/\-- 6 take the heavy side

    3 --/\-- 3 take the heavy side

    1 --/\-- 1 if one side is heavy; thats the one: if they balance your extra one is heavy

  3. #3

    Thread Starter
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: Marbles, Just for fun...

    there's a better solution, give it a minute and the penny will drop.

  4. #4
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: Marbles, Just for fun...

    I am going to assume that you need to be able to determine it with 100% certainty? Otherwise, you could take two marbles at random, place them on the scale, and if you're very lucky you will have taken the heavier marble --> only one weigh required. The question doesn't really address this, but I don't think a solution like that is acceptable... Right?

  5. #5
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Marbles, Just for fun...

    Spoiler Warning (highlight the text with your mouse to read it)

    Weigh 8v8 [8 left out]; if they balance throw them out, if they don't take heavier side.
    3v3 [2 left out]; if they balance throw them out; if they don't take heavier side.
    1v1, possibly with one left out; take heavier side; if one is left out and they balance, take that one.

    3
    Last edited by si_the_geek; Jun 27th, 2009 at 12:39 PM. Reason: changed text colour
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  6. #6

    Thread Starter
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: Marbles, Just for fun...

    jemidiah, you got it. (again)
    If you think the puzzle worth it maybe edit your post.


  7. #7
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Marbles, Just for fun...

    Hint

    (if anybody's particularly interested without getting the answer) 24 is divisible by both 2 and 3. The 3 is important.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Marbles, Just for fun...

    Quote Originally Posted by jemidiah View Post
    Spoiler Warning
    I hope you don't mind, I changed the text colour of your solution so that it can't be read accidentally.

  9. #9
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Boston, MA
    Posts
    391

    Re: Marbles, Just for fun...

    What I like about this problem is that the number of measurements required to determine the culprit for N marbles goes by the power of 3. So, if it takes M measurements to figure it out for N marbles in one instance it takes M + 1 measurements to figure out for 3 * N marbles.

  10. #10
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Marbles, Just for fun...

    Quote Originally Posted by si_the_geek View Post
    I hope you don't mind, I changed the text colour of your solution so that it can't be read accidentally.
    Good idea
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  11. #11
    Junior Member
    Join Date
    Aug 2007
    Posts
    17

    Re: Marbles, Just for fun...

    I say zero.

    If you gently shake the bag of marbles for a while, then the heavier marble will slowly settle to the bottom.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width