Well, I just had to carry this out another year (so to speak).
I wrote a Javascript simulation of this problem. Instead of putting this on my official website, I put it on a free geocities website here:
http://www.geocities.com/internet_web_surfer_dude/problty.htm
When you go to the site just click the enter key once.
The red numbers 1 through 10 are the actual dice rolling “trials”.
For example, in row 1, in the example I am viewing, it shows:
- 3 5 6 1 2 2 4
This means that a simulated die was rolled and it displayed a 3 then 5, 6, 1, 2, 2, 4
When it rolled a four, this completed showing all six numbers.
It took seven rolls for this to occur (the two occurred twice).
(This “number of rolls required for success” is shown on the far right of each of the 10 rows.)
If you look at the bottom you will notice 5 output boxes.
The 3 boxes next to the “ENTER” key show the number of trials, a running total of all the dice rolls, and the third box = the second box ÷ by the first which shows the “average” number of rolls it required for those 10 succeses.
The row underneath the “ENTER” key shows a probability distribution of the
of rolls required for a success. As I said, I figured this out decades ago, and I remembered it was 13 (and that’s why I chose to split it at that number).
This distribution would be important if this were a gambling bet. If I were to bet someone even money, that I could roll a die and get all 6 numbers in 13 tries, I would eventually come out a winner. (Greater than 50% of the successes require 13 or fewer rolls).
Anyway, as I stated earlier, this might be analagous to the difference between the half life of an isotope and the average life.
Anyway, after you click the “ENTER” key with your mouse, just hold the KEYBOARD enter key down to get a bunch of computer data.
I ran a simulation of 10,000 successes with the following results:
The average came out to be 14.7254
(damned good agreement with the calculations of nivlac and N9IWP).
The probability distribution came out as:
13 or fewer rolls: 5,187
14 or more rolls: 4,813
Which agrees nicely with my statement that with 13 rolls or less, you will be successful more than half the time.
So, I’d like to see some more discussion on this particular problem.
For one thing, how would that 13 (the 50% or more number) be calculated? As I said, I remembered having to look this up in a book that showed Stirling’s numbers of the Second Kind. Is there an easier way than this?
Seriously Brian, is your question really
how many hits to take out an Ogre (supertank).
Though the supertanks in question may not match the commercial Ogre in specifications?.
If that’s the case would the answer be closer to 15 or 13?