Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > The Academy > Tilted Knowledge and How-To


 
 
LinkBack Thread Tools
Old 11-25-2003, 04:03 PM   #1 (permalink)
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
Blue and Red ball puzzle!

You are sitting on a mountain of blue and red balls. You have a bag filled with exactly 20 blue and 13 red balls. You decide to play a game and here are the rules.
You will remove two balls from the bag. If they are the same colour, you will add a blue ball into the bag. If they are different colours, you will add a red ball into the bag. Please note that, because you are not placing the two test balls back into the bag, you will always be losing a ball every turn so, eventually, you will be down to a single ball.
Now, what will be the colour of this last ball?
KnifeMissile is offline  
Old 11-25-2003, 04:22 PM   #2 (permalink)
Upright
 
if you keep taking 2 balls out of the bag and putting 2 balls from the mountain in you will always be sitting up top....
Noob is offline  
Old 11-25-2003, 04:27 PM   #3 (permalink)
Riiiiight........
 
ok, here's some preliminary analysis
Lets break it into 3 events.

Event:
1) Minus 2 Red, Add one blue=> -2R+B
2) Minus 2 Blue, Add one=> -B
3) Minus 1 Red, 1 Blue, Add 1 Red=> -B

When you have 3 balls left, there are 4 possible states
3-1) 3 R
3-2) 2R 1B
3-3) 1R 2B
3-4) 3B

Last edited by dimbulb; 11-25-2003 at 04:56 PM..
dimbulb is offline  
Old 11-25-2003, 04:36 PM   #4 (permalink)
Riiiiight........
 
For 2 balls, you have 3 possible states
2-1) 2R
2-2) 1R 1B
2-3) 2B

so using a notation of #Balls-State,

from 3-1, you must pick 2 R and add 1B, so you end up at 2-2.
from 3-2, there are 2 cases: pick 2 red, end up at 2-3
or pick 1R1B and end up at 2-1
from 3-3, you always end up at 2-2
from 3-4, you always end up with 2-3

Last edited by dimbulb; 11-25-2003 at 04:57 PM..
dimbulb is offline  
Old 11-25-2003, 04:40 PM   #5 (permalink)
Riiiiight........
 
From 2-1, you end up with 1 blue ball
From 2-2, you end up with 1 red ball
from 2-3, you end up with 1 blue ball...

so it looks like you can end up with both.... hmmm..... i vaguely remember a similar question I did in a Markov Chain course....
unless we can eliminate 2-2 as a possible state....
dimbulb is offline  
Old 11-25-2003, 04:54 PM   #6 (permalink)
Riiiiight........
 
at any stage, you are deducting either zero or 2 red balls....
and you start off with an odd number of balls.

so it is impossible to end up with an even number of red balls at any stage.

so only 2-2 can exist.
and hence you end up with a red ball.
dimbulb is offline  
 

Tags
ball, blue, puzzle, red


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 On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:33 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76