wu :: forums
« wu :: forums - k-sided die rolled n times »

Welcome, Guest. Please Login or Register.
Apr 27th, 2024, 7:30am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: Eigenray, ThudnBlunder, SMQ, Icarus, william wu, towr, Grimbal)
   k-sided die rolled n times
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: k-sided die rolled n times  (Read 1030 times)
jarls
Newbie
*





   


Posts: 32
k-sided die rolled n times  
« on: May 1st, 2009, 1:20am »
Quote Quote Modify Modify

is the probability of all sides showing up at least once for a k-sided die which is rolled n times  
 
k!/k^n?
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: k-sided die rolled n times  
« Reply #1 on: May 1st, 2009, 2:59am »
Quote Quote Modify Modify

No, because the probability of all sides showing at least once goes to 1 as n increases, whereas  k!/k^n goes to 0.
 
I'll need a few moments to figure out what the correct formula is, because I know I tend to get it wrong; even though by now I should remember it.
IP Logged

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






   


Gender: male
Posts: 2084
Re: k-sided die rolled n times  
« Reply #2 on: May 1st, 2009, 5:59am »
Quote Quote Modify Modify

One approach is to reverse the probability and use inclusion/exclusion.
 
P(all sides rolled)
  = 1 - P(at least one side not rolled)
  = 1 - [kC1 (k-1]n - kC2 (k-2]n + kC3 (k-3]n - ... ] / kn
  = Sum over i from 0 to k of (-1)i kCi [(k-i)/k]n

But that's where I get stuck, as I don't know if there's a way to find a closed-form representation of that sum.
 
--SMQ
IP Logged

--SMQ

towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: k-sided die rolled n times  
« Reply #3 on: May 1st, 2009, 6:24am »
Quote Quote Modify Modify

http://mathworld.wolfram.com/StirlingNumberoftheSecondKind.html
k!/kn * S(n,k)
« Last Edit: May 1st, 2009, 6:32am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
jarls
Newbie
*





   


Posts: 32
Re: k-sided die rolled n times  
« Reply #4 on: May 1st, 2009, 8:27pm »
Quote Quote Modify Modify

This is a riddle found in the 'relatively hard' section.  
Why did you move it to the 'easy' section of the forum?
IP Logged
JohanC
Senior Riddler
****





   


Posts: 460
Re: k-sided die rolled n times  
« Reply #5 on: May 2nd, 2009, 1:34am »
Quote Quote Modify Modify

Hi, Towr,
Jaris is referring to every die face in Williams hard section.
 
Hi, Jaris,
I suppose Towr moved it because he had an easy answer to the question as it was formulated in this thread.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: k-sided die rolled n times  
« Reply #6 on: May 2nd, 2009, 9:36am »
Quote Quote Modify Modify

on May 1st, 2009, 8:27pm, jarls wrote:
This is a riddle found in the 'relatively hard' section.
Ah sorry, I didn't know that.
 
Quote:
Why did you move it to the 'easy' section of the forum?
The rating between the riddle site and the forum has diverged a bit over time. I didn't feel it was appropriate for the hard section; although if I had known it was classified as such on the riddle site I'd have left it.
As for why then easy rather than medium, that's because I thought I remembered it having an easier answer. There are a number of variations on the theme of what is equivalent to a "putting N balls in K bins", which vary in how easy they are to solve.  
If my memory had served me better I'd have gone with medium in retrospect.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
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