• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:06
CEST 14:06
KST 21:06
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
RSL Revival: Season 5 - Qualifiers and Main Event5Code S Season 1 (2026) - RO12 Results02026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Code S Season 1 (2026) - RO12 Results Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid
Tourneys
RSL Revival: Season 5 - Qualifiers and Main Event GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches> WardiTV Spring Cup SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
Missed out on ASL tickets - what are my options? Pros React To: Leta vs Tulbo (ASL S21, Ro.8) ASL21 General Discussion BGH Auto Balance -> http://bghmmr.eu/ [BSL22] RO16 Group A - Sunday 21:00 CEST
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 [BSL22] RO16 Group Stage - 02 - 10 May [ASL21] Ro8 Day 2
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Daigo vs Menard Best of 10 Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1832 users

[H]Probability

Blogs > 4thHatchery
Post a Reply
4thHatchery
Profile Blog Joined June 2005
Finland125 Posts
October 20 2010 16:14 GMT
#1
N children have decided to choose among them one who stays to count (while the others go and hide) by flipping a coin. What is the probability that the one who stays to count is decided on the nth round of coin flipping, when the one who gets a different side of the coin than the others is the one who stays and counts?

My "reasoning":
P("second child "loses"")=1/2
P("third child "loses"")=1/(2^2)
P("Nth child "loses"")=1/(2^N-1)
These are disjoint cases so the probability that the "loser" is decided on the first round is the sum of 1/(2^k) where k goes from 1 to N-1. Therefore the probability that the "loser" would be decided on the nth round is the sum of 1/(2^k) where k goes from 1 to nN-1. This is a geometric sum so the result would be 1-(1/(2^nN-1)).

The answer given in the book is p(1-p)^n-1, where p=N/2^(N-1).
That would be (N/2^(N-1))(1-(N/2^(N-1)))^n-1. This makes no sense to me because if for example there were 2 children deciding who hides and who seeks the probability that the seeker would be decided on the first round would be [(N=2,n=1)]:
(2/2^(2-1))(1-(2/2^(2-1)))^1-1=(2/2)*1=1

So what am I missing?

Cambium
Profile Blog Joined June 2004
United States16368 Posts
Last Edited: 2010-10-20 16:28:52
October 20 2010 16:28 GMT
#2
The chance of the event happening on the Nth toss is:
p = [ n * 1 * 0.5 ^ (n - 1) ]

n = (n choose (n-1)) (any one of the n people could have the opposite)
1 = the one person could get either head or tail, does not affect probability
0.5 ^ (n - 1) = the remaining (n-1) people must get the opposite of the one person, hence the 0.5

For this to actually happen, on the previous (n-1) tosses, the previous condition must be false:
(1 - p ) ^ (n - 1)

Combine them together, you get:
p * (1 - p) ^ (n - 1)
When you want something, all the universe conspires in helping you to achieve it.
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 20 2010 19:05 GMT
#3
Let me see if I'm understanding the problem correctly. In each round, every single child flips a coin. If only one child doesn't match the others, that child becomes the counter. Otherwise, repeat the round. I assume this is what the problem is because the solution matches with this description.

If so, then the fault with your reasoning is that you cannot know that the second child is the loser until all the other children also flip their coins. Three person example:

First child flips H
Second child flips T (you would say child loses right here)
Third child flips T

Intuitively, it should be the case that all children have an equal probability of losing. The way you formulated the solution, the first child can never lose.

Cambium's solution looks correct. I'm going to present the solution in a different way, because sometimes it helps people to see things in multiple ways.

I usually look at probability in terms of the space of all possibilities. In this case, there are 2^N possible results for each round, where a result is the coin flips that the children get. Back to the three person example, here are the 2^3=8 possible outcomes.

HHH
HHT
HTH
THH
HTT
THT
TTH
TTT

Now, we want to figure out how many of these possible results are "losing" results (i.e. one child is different from the rest). In the three person case, we see there are 6 possibilities. Let's solve the general case.

Consider the scenario where only one child flips H. Using combinatorics, we can represent this as a choosing problem, where we only choose one child as the losing child.

(N choose 1) = N

The tails case is symmetric, so we now can see that there are 2*N possible results that are considered "losing" results. Putting it all together, we can see that the probability is:

2*N / (2^N) -------> N / (2^(N-1))

From here, you can just apply the geometric sequence to solve the rest of the problem.

It should be noted that this method works because all results are equally likely. If you have a problem where the likelihood of events is not equal, like with an unfair coin, then you would have to do weighted averages to compensate.
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
Last Edited: 2010-10-20 21:44:43
October 20 2010 21:29 GMT
#4
I think the notes above are too complicated. There are 2^n total possible outcomes, and out of those there are only 2 instances of the nth child losing: either HHHH....T or TTTTT....H, the probability is 2/(2^n), or 1/(2^(n-1)). OP you just missed a parenthesis, and you don't need to sum anything. The question asks you the probability that it is decided on the nth round, not by the nth round. Read more carefully.

Edit: this assumes a fair coin and n > 1 obviously. Base case is p = 0 for n = 1. In response to the post above: note that combination like HTH would have resulted on the second child losing, not the third.
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
11:00
Wardi Spring Cup
Percival vs Shameless
ByuN vs YoungYakov
WardiTV395
LiquipediaDiscussion
RSL Revival
10:00
Season 5: Group A
Classic vs GgMaChine
Rogue vs Maru
Ryung 996
Tasteless835
IntoTheiNu 575
IndyStarCraft 182
Rex108
3DClanTV 105
LiquipediaDiscussion
Replay Cast
09:00
uThermal 2v2 Circuit S2 Apr
CranKy Ducklings96
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Ryung 996
Tasteless 835
Lowko381
IndyStarCraft 182
Rex 108
MindelVK 20
BRAT_OK 3
StarCraft: Brood War
Britney 32180
Calm 5584
Sea 2631
Horang2 1511
Shuttle 702
firebathero 530
Mini 356
EffOrt 318
Hyuk 289
Soma 220
[ Show more ]
Rush 187
ggaemo 147
HiyA 144
Zeus 132
actioN 117
hero 109
Soulkey 97
ZerO 93
Leta 92
Aegong 74
Hm[arnc] 68
Hyun 64
Killer 63
ToSsGirL 61
PianO 54
Sharp 49
JulyZerg 45
Bonyth 38
[sc1f]eonzerg 37
910 34
sorry 31
Nal_rA 23
Barracks 17
SilentControl 13
GoRush 12
IntoTheRainbow 11
Movie 10
Dota 2
XcaliburYe352
monkeys_forever253
ODPixel236
Counter-Strike
zeus708
edward118
Heroes of the Storm
Khaldor150
Other Games
singsing2104
B2W.Neo1111
DeMusliM307
Sick284
crisheroes248
ZerO(Twitch)10
Organizations
Dota 2
PGL Dota 2 - Main Stream74
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• StrangeGG 74
• CranKy Ducklings SOOP42
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 22
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1622
• Stunt587
Upcoming Events
SC Evo League
1h 54m
IPSL
3h 54m
Ret vs Art_Of_Turtle
Radley vs TBD
BSL
6h 54m
Replay Cast
11h 54m
RSL Revival
21h 54m
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
1d 1h
BSL
1d 6h
IPSL
1d 6h
eOnzErG vs TBD
G5 vs Nesh
Patches Events
1d 11h
Replay Cast
1d 20h
[ Show More ]
Wardi Open
1d 21h
Afreeca Starleague
1d 21h
Jaedong vs Light
Monday Night Weeklies
2 days
Replay Cast
2 days
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Snow vs Flash
WardiTV Invitational
2 days
GSL
3 days
Classic vs Cure
Maru vs Rogue
GSL
4 days
SHIN vs Zoun
ByuN vs herO
OSC
4 days
Replay Cast
5 days
Escore
5 days
The PondCast
5 days
WardiTV Invitational
5 days
Replay Cast
6 days
CranKy Ducklings
6 days
RSL Revival
6 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
6 days
Liquipedia Results

Completed

Escore Tournament S2: W5
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
KK 2v2 League Season 1
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
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 © 2026 TLnet. All Rights Reserved.