Quoto

Learn / Library / Expected value

sequential offers

Expected valueHard

Offers arrive one at a time, up to of them. Each offer is an integer from to , uniformly random and independent of the others. After seeing an offer you must either accept it, and be paid that many dollars, or reject it for good; the last offer must be accepted if you reach it. With optimal play, what is the expected payout?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Compute the value of having k offers left, starting from one offer.

Solution
  1. With one offer left the value is ; with left, accept or more, giving .
  2. With left, accept or more (probability , average ), giving .
  3. With left, accept or more (probability , average ) because while .
  4. The value is .

Answer: