Skip to content

Dice With Same Numbers

Get access to track progress Get access to bookmark
Asset Pricingx / 34
Behavioral Questionsx / 7
Brain Teasersx / 79
Derivatives Theoryx / 107
Digital Assets - Cryptox / 82
Energy Tradingx / 55
Linear Algebrax / 24
Machine Learningx / 62
Math Questionsx / 50
Probability and Statisticsx / 369
Programmingx / 54
Totalx / 923
You roll 3 dice. If they all show the same number, you earn €16. If two of the numbers are the same as each other, you earn €14. If all numbers are different, you lose €4.

What is the expected return per roll? Round it to two decimal places (i.e., cents).
Let's calculate the expected return per outcome. Let's define the following:
  • $E_n$ is the expected return when $n$ dice are the same.
  • $P_n$ is the probability that $n$ dice are the same.
Let's start with the case where 3 dice are the same, where you earn €16. The first die can be any number, but the other two dice need to be the same number. So, \begin{equation} P_3 = 1 * \frac{1}{6} * \frac{1}{6} = \frac{1}{36} \end{equation} \begin{equation} E_3 = P_3 * 16 = \frac{16}{36} \end{equation} Next, consider the case where 2 dice are the same, where you earn €14. The first die can be any number, the second die needs to be the same, and the third die needs to be a different number. You can order this in $\binom{3}{2} = 3$ ways. So, \begin{equation} P_2 = 1 * \frac{1}{6} * \frac{5}{6} * \binom{3}{2}  = \frac{5}{12} \end{equation} \begin{equation} E_2 = P_2 * 14 = \frac{210}{36} \end{equation} Finally, consider the case where no dice are the same, where you lose €4. The first die can be any number, the second die needs to be another number and the third die needs to be another number again. So, \begin{equation} P_0 = 1 * \frac{5}{6} * \frac{4}{6}  = \frac{5}{9} \end{equation} \begin{equation} E_0 = P_0 * -4 = - \frac{80}{36} \end{equation} The expected return of this game is defined as: \begin{equation} E = E_3 + E_2 + E_0 \end{equation} \begin{equation} E = \frac{16}{36} + \frac{210}{36} - \frac{80}{36} \end{equation} \begin{equation} E = \frac{146}{36} = \frac{73}{18} \approx 4.06 \end{equation}
Correct Answer: 4.06
Python scratchpad
# Run Python right here in your browser
def two_sum(nums, target):
    seen = {}
    for i, n in enumerate(nums):
        if target - n in seen:
            return [seen[target - n], i]
        seen[n] = i
    return []

print(two_sum([2, 7, 11, 15], 9))  # [0, 1]
Run Python in your browser

Write and execute code — numpy, pandas & scikit-learn included — right on the question page.

Log in to start coding
Title Category Subcategory Difficulty Status
100-Sided Die Probability and StatisticsExpected ValueHard
Unlock with a membership
5 Descending Cards Probability and StatisticsExpected ValueMedium
Unlock with a membership
Basketball Practice #1 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Basketball Practice #2 Probability and StatisticsExpected ValueHard
Unlock with a membership
Biased Coin #1 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Biased Coin #2 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Biased Coin #3 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Biased Coin #4 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Biased Coin #5 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Bullseye Bet Probability and StatisticsExpected ValueMedium
Unlock with a membership
Bust on Ten Probability and StatisticsExpected ValueEasy
Unlock with a membership
Capsule Colors Probability and StatisticsExpected ValueEasy
Unlock with a membership
Card On Top Probability and StatisticsExpected ValueEasy
Unlock with a membership
Cash or Reroll Probability and StatisticsExpected ValueEasy
Example
Coefficient of Variation Probability and StatisticsExpected ValueHard
Unlock with a membership
Coin Toss #2 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Coins and Dice Probability and StatisticsExpected ValueEasy
Unlock with a membership
Collecting Stickers Probability and StatisticsExpected ValueEasy
Unlock with a membership
Company Acquired or Not Probability and StatisticsExpected ValueMedium
Unlock with a membership
Costly Reroll Probability and StatisticsExpected ValueMedium
Unlock with a membership
Croissant or Muffin Probability and StatisticsExpected ValueEasy
Unlock with a membership
Diamond Variance Probability and StatisticsExpected ValueMedium
Unlock with a membership
Dice Game #1 Probability and StatisticsExpected ValueHard
Unlock with a membership
Dice Game #2 Probability and StatisticsExpected ValueHard
Unlock with a membership
Dice Sum Game Probability and StatisticsExpected ValueEasy
Unlock with a membership
Dice vs Coins Probability and StatisticsExpected ValueMedium
Unlock with a membership
Different Outcome Probability and StatisticsExpected ValueEasy
Unlock with a membership
Divisible Throws Probability and StatisticsExpected ValueEasy
Unlock with a membership
Double Down Coin Bet Probability and StatisticsExpected ValueEasy
Unlock with a membership
Double Roll Pay Probability and StatisticsExpected ValueEasy
Unlock with a membership
Drunk Student #1 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Drunk Student #2 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Empty Boxes Probability and StatisticsExpected ValueEasy
Unlock with a membership
Exponential Distribution #1 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Faster Sixes Probability and StatisticsExpected ValueHard
Unlock with a membership
First Ace Probability and StatisticsExpected ValueEasy
Unlock with a membership
First Flip Wins Probability and StatisticsExpected ValueEasy
Unlock with a membership
First Prime Probability and StatisticsExpected ValueMedium
Unlock with a membership
Flip 100 Coins Probability and StatisticsExpected ValueMedium
Example
Flip 4 Coins Probability and StatisticsExpected ValueMedium
Unlock with a membership
Flowers in Bloom Probability and StatisticsExpected ValueMedium
Unlock with a membership
Free Seat Probability and StatisticsExpected ValueEasy
Unlock with a membership
Free Ticket Probability and StatisticsExpected ValueHard
Unlock with a membership
Game Show Stop or Go Probability and StatisticsExpected ValueEasy
Unlock with a membership
Kelly Betting #1 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Kelly Betting #2 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Largest Sunflower Probability and StatisticsExpected ValueEasy
Unlock with a membership
Other Than Six Probability and StatisticsExpected ValueEasy
Unlock with a membership
Patient Roller Probability and StatisticsExpected ValueEasy
Unlock with a membership
Remaining Coins Probability and StatisticsExpected ValueMedium
Unlock with a membership
Repeating Dice Probability and StatisticsExpected ValueEasy
Example
Roll and Spin Probability and StatisticsExpected ValueEasy
Unlock with a membership
Rowing Reshuffle Probability and StatisticsExpected ValueMedium
Unlock with a membership
Same Flips Probability and StatisticsExpected ValueEasy
Unlock with a membership
Shooting Star Probability and StatisticsExpected ValueEasy
Unlock with a membership
Shuttle Wait Probability and StatisticsExpected ValueEasy
Unlock with a membership
Specific Card #1 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Spin in Two Regions Probability and StatisticsExpected ValueMedium
Unlock with a membership
Sum Remaining Odd Dice Probability and StatisticsExpected ValueEasy
Unlock with a membership
Sum Two Dice Probability and StatisticsExpected ValueEasy
Unlock with a membership
Sum Until Success Probability and StatisticsExpected ValueEasy
Unlock with a membership
Tennis Tournament Probability and StatisticsExpected ValueEasy
Unlock with a membership
The Highest Face Probability and StatisticsExpected ValueMedium
Unlock with a membership
Third Six Probability and StatisticsExpected ValueEasy
Unlock with a membership
Three Blue Orbs Probability and StatisticsExpected ValueMedium
Unlock with a membership
Throw a 6 #1 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Throw a 6 #2 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Throw a 6 #3 Probability and StatisticsExpected ValueHard
Unlock with a membership
Throw a 6 #4 Probability and StatisticsExpected ValueMedium
Unlock with a membership
Throw Until Matched Probability and StatisticsExpected ValueMedium
Example
Toy Collection #1 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Toy Collection #2 Probability and StatisticsExpected ValueEasy
Unlock with a membership
Tripling Die Probability and StatisticsExpected ValueMedium
Unlock with a membership
Two at a Time Probability and StatisticsExpected ValueEasy
Unlock with a membership
Two Consecutive Fives Probability and StatisticsExpected ValueMedium
Unlock with a membership
Two Dice Difference Probability and StatisticsExpected ValueEasy
Unlock with a membership
Two Hues Left Probability and StatisticsExpected ValueHard
Unlock with a membership
Two Rolls Payoff Probability and StatisticsExpected ValueEasy
Unlock with a membership
Two Same Dice Probability and StatisticsExpected ValueEasy
Unlock with a membership
Uniform Distribution #1 Probability and StatisticsExpected ValueHard
Unlock with a membership
Up Days Probability and StatisticsExpected ValueEasy
Unlock with a membership
Voucher Swap Probability and StatisticsExpected ValueEasy
Unlock with a membership
Warming Spells Probability and StatisticsExpected ValueMedium
Unlock with a membership
Widening Wheel Probability and StatisticsExpected ValueHard
Unlock with a membership

Please log in to see the discussion.