All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Kebab Palace Casino Conclusion (Posted on 2023-04-04) Difficulty: 2 of 5
• The "Kebab Palace Casino" in Madsdale has dice with 20 sides.
• The "house" rolls two 20-sided dice and the "player" rolls one 20-sided die.
• If the player rolls a number on his die between the two numbers the house rolled, then the player wins.
• Otherwise, the house wins (including ties).

Determine the player's probability of winning.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Let me count the ways. | Comment 3 of 4 |
I like Steve Herman's method the best, but I had already worked this out before I saw it.  Consider the general case of S-sided dice.

Recall the formulae for summing n or n^2 from 1 to N:
The sum from 1 to N of n = (N)(N+1)/2
The sum from 1 to N of n^2 = (N)(N+1)(2N+1)/6
Summing a constant from 1 to N = N*constant

The dice have "S" sides, the player rolls number 'n'.  Player wins if house's smaller roll was from 1 to (n-1) AND house's larger roll was from (n+1) to S. But multiply by 2 because of the order of house's high and low rolls.  And player rolls 'n' with prob = 1/S.
------
Player rolls 'n' wins with probability:  
2 * [(n-1)/S * (S-n)/S] * (1/S)
= (2/S^3)(n-1)(S-n)
= (2/S^3)(-n^2 + (S+1)n - S)
to sum this over all n, replace by corresponding value for adding up all n or n^2 from 1 to S
= (2/S^3)(-(S)(S)(2S+1)/6  + (S+1)(S)(S+1)/2 - S^2)
= (2/S^2)(-(S+1)(2S+1)/6  + (S+1)(S+1)/2 - S)
= (2/S^2)(-(2S^2 + 3S + 1)/6  + (S^2+2S+1)/2 - S)
= (2/S^2)(-(2S^2 + 3S + 1)/6  + (S^2 + 1)/2 )
= (1/3)(1/S^2)(-(2S^2 + 3S + 1)  + 3(S^2 + 1) )
= (1/3)(1/S^2)( S^2 - 3S + 2 )
= (1/3)( 1 - 3/S + 2/S^2 )

= 57/200 for S = 20


  Posted by Larry on 2023-04-04 12:30:18
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (11)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information