wu :: forums
« wu :: forums - Painted Balls »

Welcome, Guest. Please Login or Register.
Nov 29th, 2024, 1:18am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Eigenray, william wu, ThudnBlunder, SMQ, Icarus, towr, Grimbal)
   Painted Balls
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Painted Balls  (Read 765 times)
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Painted Balls  
« on: Apr 11th, 2007, 10:22am »
Quote Quote Modify Modify

A box contains n balls, each of a different colour. From the box you randomly choose a ball with your left hand and another ball with your right hand. You now paint the left-hand ball the same colour as the right-hand ball and replace both balls in the box. How many such turns would you expect to need before all of the balls in the box are the same colour?
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Painted Balls  
« Reply #1 on: Apr 11th, 2007, 11:54am »
Quote Quote Modify Modify

(n-1)2 ?
It sounds too good to be true, so probably is..
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Painted Balls  
« Reply #2 on: Apr 12th, 2007, 7:45am »
Quote Quote Modify Modify

on Apr 11th, 2007, 11:54am, towr wrote:
(n-1)2 ?

Has it been posted before?
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Painted Balls  
« Reply #3 on: Apr 12th, 2007, 7:54am »
Quote Quote Modify Modify

I don't think so. Although I recall a somewhat similar riddle with a different, but equally astonishing results In that problem you got multiplication of two numbers.
 
I'm still thinking how to prove this result in general though -- I just generalized from the first few examples (even though at first one of the results didn't correspond, but I found I made a mistake)
« Last Edit: Apr 12th, 2007, 7:55am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Miles
Junior Member
**



Cambridge, England

   


Gender: male
Posts: 95
Re: Painted Balls  
« Reply #4 on: Apr 13th, 2007, 9:22am »
Quote Quote Modify Modify

on Apr 11th, 2007, 11:54am, towr wrote:
(n-1)2 ?
It sounds too good to be true, so probably is..

 
It does sound too good to be true, but I've run tens of thousands of simulations for up to 20 or so balls, and your guess is looking right.   All we need now is a proof... (just constructing a Markov chain for the 4 ball problem gives me a headache).
IP Logged
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Re: Painted Balls  
« Reply #5 on: Apr 13th, 2007, 12:25pm »
Quote Quote Modify Modify

Maybe I am complicating matters (and I am definitely not helping  Tongue by the following):
 
isn't this: Given a complete graph of white edges. We pick an edge at random and colour it black.  We are looking for the subgraph induced by the black edges to span all the nodes.
 
I would expect this to be standard by now.
IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Painted Balls  
« Reply #6 on: Apr 13th, 2007, 3:22pm »
Quote Quote Modify Modify

on Apr 11th, 2007, 11:54am, towr wrote:
(n-1)2 ?

What if n is even, with n/2 colours and 2 balls of each colour?   Smiley
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
JohanC
Senior Riddler
****





   


Posts: 460
Re: Painted Balls  
« Reply #7 on: Apr 13th, 2007, 4:01pm »
Quote Quote Modify Modify

on Apr 13th, 2007, 12:25pm, Aryabhatta wrote:
Maybe I am complicating matters (and I am definitely not helping  Tongue by the following):
 
isn't this: Given a complete graph of white edges. We pick an edge at random and colour it black.  We are looking for the subgraph induced by the black edges to span all the nodes.
 
I would expect this to be standard by now.

 
Isn't the problem at hand a little bit more complicated? I'm not sure whether you are referring to a directed or an undirected graph.
Anyway, here the order in which the directed edges get colored and, moreover, the number of times they get colored play a crucial role.
IP Logged
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Re: Painted Balls  
« Reply #8 on: Apr 13th, 2007, 5:23pm »
Quote Quote Modify Modify

You are right Johan... the problem is more complicated than I stated.  
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: Painted Balls  
« Reply #9 on: Apr 14th, 2007, 7:14am »
Quote Quote Modify Modify

on Apr 13th, 2007, 9:22am, Miles wrote:
(just constructing a Markov chain for the 4 ball problem gives me a headache).

4 balls is still manageable.
There are only 5 states (1111, 211, 31, 22, 4) and only   31 and 22 can form a cycle.
IP Logged
jollytall
Senior Riddler
****





   


Gender: male
Posts: 585
Re: Painted Balls  
« Reply #10 on: Apr 14th, 2007, 11:51am »
Quote Quote Modify Modify

4 I succeded early on. It is indeed 9.
I think even few more can be done relatively easily, but I don't think that help in the general solution.
IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Painted Balls  
« Reply #11 on: May 4th, 2007, 12:29pm »
Quote Quote Modify Modify

on Apr 11th, 2007, 11:54am, towr wrote:
(n-1)2 ?

Consider running the experiment backwards.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board