Skip to content

Halving card piles game with a 1000-sided die

Question

A stack of nn cards is prepared, where nn is the result of rolling a fair die numbered 11 to 10001000. Alice and Bob then alternate turns, Alice moving first. On a turn, the player divides the current stack into two nonempty piles and throws away the smaller one (if the piles are equal, either may be thrown away), leaving the other as the new stack. A player who cannot divide the stack loses. If both play perfectly, what is the probability that Alice wins?

Short answer

991/1000991/1000. From nn cards you can leave any stack size from ⌈n/2⌉\lceil n/2\rceil to n−1n-1. By induction the losing sizes are exactly 2k−12^k-1: from 2k−12^k-1 every reachable size lies strictly between 2k−1−12^{k-1}-1 and 2k−12^k-1 (all winning), while any other nn can reach the losing size just below it. There are 99 such values up to 10001000 (1,3,…,5111,3,\dots,511), so Alice wins in the other 991991 cases.

Adapted from OpenQuant; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free