• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:32
CEST 15:32
KST 22:32
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Classic Games #3: Rogue vs Serral at BlizzCon0[ASL20] Ro16 Preview Pt1: Ascent9Maestros of the Game: Week 1/Play-in Preview12[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway13
Community News
Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues22LiuLi Cup - September 2025 Tournaments3Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris76
StarCraft 2
General
Team Liquid Map Contest #21 - Presented by Monster Energy #1: Maru - Greatest Players of All Time Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues Classic Games #3: Rogue vs Serral at BlizzCon What happened to Singapore/Brazil servers?
Tourneys
LiuLi Cup - September 2025 Tournaments Maestros of The Game—$20k event w/ live finals in Paris WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast
Brood War
General
The Korean Terminology Thread Recommended FPV games (post-KeSPA) [ASL20] Ro16 Preview Pt1: Ascent FlaSh on ACS Winners being in ASL ASL20 General Discussion
Tourneys
[ASL20] Ro16 Group B [ASL20] Ro16 Group A Is there English video for group selection for ASL BWCL Season 63 Announcement
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Iron Harvest: 1920+ General RTS Discussion Thread Diablo IV S10 Infernal Tides Guide Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
The Automated Ban List
Blogs
Collective Intelligence: Tea…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1140 users

Yatzy Probability

Blogs > Ximeng
Post a Reply
Ximeng
Profile Blog Joined July 2010
China57 Posts
July 27 2012 03:46 GMT
#1
I was debating with a friend the optimal play for this situation:

You are going for a large straight (5 dice in sequence) you have 3 rolls. You may keep any dice between rolls.

Your first roll comes up as a 5 3 3 2 1.

With 2 rolls left is it better to:
a) roll the extra 3 and try to change it to a 4 to complete a sequence of 5 to 1
b) roll the extra 3 and the 1 to try to complete a sequence of 6 to 2 or 5 to 1

What is the probability of success in each case?

The answer is actually quite surprising.

*****
I'm not Chinese but it would be okay if I were
Jumbled
Profile Joined September 2010
1543 Posts
Last Edited: 2012-07-27 08:19:31
July 27 2012 04:03 GMT
#2
You've got a probability of success of slightly over 30% in the first case and slightly over 35% in the second. In other words, the option with more outcomes is a bit better but not hugely so, which is about what I would expect.

Edit: On second thoughts, there's some double counting in that 35% figure. It's actually going to be less than that.

Yup, without the double-counting it comes to 27.777...%
ghrur
Profile Blog Joined May 2009
United States3786 Posts
Last Edited: 2012-07-27 04:27:30
July 27 2012 04:11 GMT
#3
Nvm. Read that wrong. 2 rolls left. Derp Dx
darkness overpowering
Iranon
Profile Blog Joined March 2010
United States983 Posts
Last Edited: 2012-07-27 07:31:21
July 27 2012 04:14 GMT
#4
Rolling a single die and getting a 4: 1/6 = 16.67%
Chance of this with 2 shots it: (1/6)+(5/6)(1/6) = 30.56%

Rolling two dice and getting either (4,6), (6,4), (1,4), or (4,1): 4/36 = 11.11%
Chance of this with 2 shots at it: (4/36)+(32/36)(4/36) = 13.58%


Edit: blah, my second case is wrong, you should also factor in the chance that you get either a 1/4/6 on the first try and the other number you need on the second try. Going to sleep instead of writing it out.

Edit 2: Can't sleep, might as well fix this. We're rolling up to 2 dice up to 2 times, trying for either a 4 and a 6 or a 4 and a 1:
On your first roll, you should keep anything with one of those three numbers, or
11, 12, 13, 14, 15, 16, 21, 24, 26, 31, 34, 36, 41, 42, 43, 44, 45, 46, 51, 54, 56, 61, 62, 63, 64, 65, 66

In four of those twenty-seven possibilities (14, 41, 46, 64), you're done.
In 7 of the others (24, 34, 42, 43, 44, 45, 54) you have a 4 and a useless number -- on your next roll you need a 1 or a 6 (1/3).
In the other sixteen, you have a 1 or a 6 and a useless number -- on your next roll you need a 4 (1/6).

If you don't roll any of those twenty-seven, then on your second roll you need to hit 14, 41, 46, or 64 (4/36).

So overall, the probability for the second option is (4/36)+(7/36)(1/3)+(16/36)(1/6) + (9/36)(4/36) = 27.78%

This is less than, but surprisingly close to, the probability of doing the first option.
n.DieJokes
Profile Blog Joined November 2008
United States3443 Posts
Last Edited: 2012-07-27 04:46:53
July 27 2012 04:19 GMT
#5
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"
MyLove + Your Love= Supa Love
Jumbled
Profile Joined September 2010
1543 Posts
July 27 2012 04:57 GMT
#6
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.
n.DieJokes
Profile Blog Joined November 2008
United States3443 Posts
July 27 2012 05:08 GMT
#7
On July 27 2012 13:57 Jumbled wrote:
Show nested quote +
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.

How do you figure?
MyLove + Your Love= Supa Love
RAGEMOAR The Pope
Profile Joined February 2011
United States216 Posts
July 27 2012 05:14 GMT
#8
On July 27 2012 14:08 n.DieJokes wrote:
Show nested quote +
On July 27 2012 13:57 Jumbled wrote:
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.

How do you figure?



For #1

1/6 chance that you win THEN
5/6 chance that 1/6 win

11/36 chance.
n.DieJokes
Profile Blog Joined November 2008
United States3443 Posts
July 27 2012 05:15 GMT
#9
On July 27 2012 14:14 RAGEMOAR The Pope wrote:
Show nested quote +
On July 27 2012 14:08 n.DieJokes wrote:
On July 27 2012 13:57 Jumbled wrote:
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.

How do you figure?



For #1

1/6 chance that you win THEN
5/6 chance that 1/6 win

11/36 chance.

Ah true, whoopsies
MyLove + Your Love= Supa Love
RAGEMOAR The Pope
Profile Joined February 2011
United States216 Posts
July 27 2012 05:17 GMT
#10
On July 27 2012 14:15 n.DieJokes wrote:
Show nested quote +
On July 27 2012 14:14 RAGEMOAR The Pope wrote:
On July 27 2012 14:08 n.DieJokes wrote:
On July 27 2012 13:57 Jumbled wrote:
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.

How do you figure?



For #1

1/6 chance that you win THEN
5/6 chance that 1/6 win

11/36 chance.

Ah true, whoopsies


Same applies to your second case, except much, much more wrong.
n.DieJokes
Profile Blog Joined November 2008
United States3443 Posts
July 27 2012 05:19 GMT
#11
On July 27 2012 14:17 RAGEMOAR The Pope wrote:
Show nested quote +
On July 27 2012 14:15 n.DieJokes wrote:
On July 27 2012 14:14 RAGEMOAR The Pope wrote:
On July 27 2012 14:08 n.DieJokes wrote:
On July 27 2012 13:57 Jumbled wrote:
On July 27 2012 13:19 n.DieJokes wrote:
+ Show Spoiler [solution] +
For one die, its 1/6 +1/6. So 1/3 chance.

The other one is trickier:
Both win: 2*(1/3)(1/3) * (36/36) because there are two ways
One win one lose: 2*(2/3)(1/3)*(1/6)
Both lose: (2/3)(2/3)*(2/36)*2

Add em all up!
.37 and some change for option two, Thus its better

Edit: For more fun probability problems theres a super cheap dover book called like "50 interesting problems in probability with solutions"

You may want to redo that, your numbers are incorrect.

How do you figure?



For #1

1/6 chance that you win THEN
5/6 chance that 1/6 win

11/36 chance.

Ah true, whoopsies


Same applies to your second case, except much, much more wrong.

Oh well
MyLove + Your Love= Supa Love
Gnaix
Profile Joined February 2009
United States438 Posts
July 27 2012 06:53 GMT
#12
You can win in the second case by the following:

On your first roll you roll either (6, 4), (4, 6), (4, 1), (1, 4), in which case you don't need to roll the second time.
Probability: 4/36

On your first roll, one of your die rolls a 6 and the other rolls not a 4, in which case you keep the 6 die and you roll the other die a second time for a 4. There are 4*2+1 ways, since 6 paired with any other number can happen 2 ways but only 1 way with itself.
Probability: (4*2+1)/36*1/6

On your first roll, one of your die rolls a 1 and the other rolls not a 4, in which case you keep the 1 die and you roll the other die a second time for a 4. There are 4*2+1 ways.
Probability: (4*2+1)/36*1/6

On your first roll, one of your die rolls a 4 and other other rolls not a 6 or 2, in which case you keep the 4 die and roll the other die a second time for a 2 or 6. There are 3*2+1 ways.
Probability: (3*2+1)/36*1/3

On your first roll, you don't get any of the above, therefore you need to get (6,4) (4,6) (4,1) (1,4) on your second roll. There are 3*3 ways.
Probability: (3*3)/36*4/36

Total probability is the sum of the probabilities above which is around 0.29
one thing that sc2 has over bw is the fact that I can actually manage my hotkeys
Iranon
Profile Blog Joined March 2010
United States983 Posts
July 27 2012 07:33 GMT
#13
Gnaix, you're counting your first roll being a one and a six twice.
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
Last Edited: 2012-07-27 11:23:01
July 27 2012 11:22 GMT
#14
nvm recalculting
ॐ
Helge
Profile Joined August 2011
Ukraine4 Posts
July 27 2012 15:19 GMT
#15
1) Chance to lose is equal to NOT getting 4 on two tries, that's (5/6)*(5/6)=25/36. Chance to win is therefore 1-(25/36)=11/36 approx. 30,6%

2) A bit more complicated calculation. On your first try, out of 6*6=36 possible rolls, you can either make:
- perfect rolls = instant win. You need to roll either (1,4) or (6,4) or (4,1) or (4,6). The chance is 4/36 = 1/9.
- good rolls = have 4 but not a perfect one. 7 possible rolls: (4,2),(4,3),(4,5),(4,4),(2,4),(3,4),(5,4). The chance is 7/36
- awful rolls = no 1,4 or 6 on any dices. There are 3*3=9 such rolls. The chance is 9/36 = 1/4.
- questionable rolls - have 1 or 6 but no 4. All rolls that remains, so there are 36-4-7-9=16 of them. The chance is 16/36=4/9.

Your second try depends on your first try:
- perfect roll - you already won, the overall chance is 1/9, or approx. 11,1%
- good roll. Keeping 4 let's you win in 2 out of 6 rolls (1 or 6), which is much better that rolling 2 dices again. So the overall chance is (7/36)*(2/6) = approx. 6,5%
- awfull roll. Need to roll perfect second time, so the chance is = (1/4)*(1/9)= approx. 2,8%
- questionable roll, you can either keep 1 dice (1 or 6) or reroll both of them. In the first case your chances are 1/6 (roll 4 on 1 dice), or 1/9 (a perfect roll as described above). So naturally you'll want to roll 1 dice. So yout overall chance is (4/9)*(1/6)= approx. 7,4%

Total chance is 11,1%+6,5%+2,8%+7,4% = 27,8% (rounding errors are about 0.1%).

So the first strategy is better.
KillerDucky
Profile Blog Joined July 2010
United States498 Posts
July 27 2012 19:37 GMT
#16
Well this bypasses the exercise of calculating probabilities on your own, but there is an awesome Yahtzee calculator:
http://www-set.win.tue.nl/~wstomv/misc/yahtzee/osyp.php

For this situation, you can put a 0 in for everything except the Large Straight to force it to consider that option. Give it 53321 as roll #1, and it says:

#1 Keep 53_21, roll 3 = EV 12.22
#2 Keep 53_2_, roll 3,1 = EV 11.11

Since you're going to succeed and get 40 points, or fail and get 0 points, you can calculate probability for success:
#1 12.11/40 = 30.275%
#2 11.11/40 = 27.775%


MarineKingPrime Forever!
32
Profile Joined February 2010
United States163 Posts
Last Edited: 2012-07-28 09:48:15
July 27 2012 19:44 GMT
#17
I was bored so I printed out all the possibilities.
http://pastebin.com/mXCjB1Uq
I might be doing it wrong but I don't think so. The entries with a + sign are added to the total probability, and I do keep track of the probability of the roll when I add it to the total. I ended up with 25.3086419753%, I think python has negligible rounding errors though. Only rolling the second 3 again obviously gives you a 2/3 chance of completing the straight as other people have said (edit: I actually thought about it and now I think rolling two times for a four gives you a 1/6 + (5/6*1/6) probability or a 0.3055 repeating chance. Happily I factored this into the program before I made this mistake, so hopefully nothing else needs to be changed.), so I think it is better, without even considering the difference in probability between getting a large straight and a small one. Here's the code.
http://pastebin.com/KxTA83f9
Please log in or register to reply.
Live Events Refresh
Kung Fu Cup
12:00
SC:EVO Monthly
MaxPax vs CreatorLIVE!
ByuN vs Classic
SteadfastSC219
IndyStarCraft 132
Liquipedia
Replay Cast
10:05
Maestros of the Game Ro24 B
Zoun vs ByuNLIVE!
CranKy Ducklings221
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 275
SteadfastSC 219
Harstem 165
IndyStarCraft 132
StarCraft: Brood War
Britney 60171
Bisu 4673
Rain 3022
Flash 2166
Shuttle 1576
BeSt 862
firebathero 557
Larva 536
Light 455
Stork 449
[ Show more ]
EffOrt 396
Mini 382
Barracks 370
actioN 362
hero 281
Last 226
Soma 184
sSak 181
Snow 112
Mong 112
Mind 111
Rush 100
PianO 87
Backho 62
Nal_rA 49
Sharp 38
zelot 34
sorry 32
Yoon 28
Sacsri 24
Movie 23
yabsab 17
scan(afreeca) 16
soO 16
Icarus 12
Terrorterran 10
HiyA 10
Noble 9
Shine 7
Dota 2
Gorgc4659
qojqva2449
Dendi1201
BananaSlamJamma249
League of Legends
Reynor11
Counter-Strike
byalli309
zeus221
edward46
Other Games
singsing1751
B2W.Neo1109
olofmeister771
hiko713
DeMusliM436
crisheroes426
Hui .195
ArmadaUGS193
Liquid`VortiX58
QueenE57
FunKaTv 30
SortOf8
Organizations
Other Games
gamesdonequick845
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV434
League of Legends
• Nemesis4033
• Jankos1169
Upcoming Events
OSC
2h 28m
Moja vs Babymarine
Solar vs TBD
sOs vs goblin
Nice vs INexorable
sebesdes vs Iba
Nicoract vs TBD
NightMare vs TBD
OSC
10h 28m
ReBellioN vs PAPI
Spirit vs TBD
Percival vs TBD
TriGGeR vs TBD
Shameless vs UedSoldier
Cham vs TBD
Harstem vs TBD
RSL Revival
20h 28m
Cure vs SHIN
Reynor vs Zoun
Kung Fu Cup
22h 28m
The PondCast
23h 28m
RSL Revival
1d 20h
Classic vs TriGGeR
ByuN vs Maru
Online Event
1d 22h
Kung Fu Cup
1d 22h
BSL Team Wars
2 days
Team Bonyth vs Team Dewalt
BSL Team Wars
2 days
[ Show More ]
RSL Revival
2 days
Maestros of the Game
3 days
ShoWTimE vs Classic
Clem vs herO
Serral vs Bunny
Reynor vs Zoun
Cosmonarchy
3 days
Bonyth vs Dewalt
[BSL 2025] Weekly
3 days
RSL Revival
3 days
Maestros of the Game
4 days
BSL Team Wars
4 days
Afreeca Starleague
4 days
Snow vs Sharp
Jaedong vs Mini
Sparkling Tuna Cup
5 days
Afreeca Starleague
5 days
Light vs Speed
Larva vs Soma
LiuLi Cup
6 days
Liquipedia Results

Completed

Copa Latinoamericana 4
SEL Season 2 Championship
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
Chzzk MurlocKing SC1 vs SC2 Cup #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
BSL Season 21
BSL 21 Team A
EC S1
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.