All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Games
Optimal Card Drawing Strategy (Posted on 2010-09-07) Difficulty: 4 of 5
In this game, you have an infinite deck of cards. Each time you draw a card it's value is a uniformly distributed integer on the interval [0,C]. The game lasts for R rounds. You start the game by drawing a card and adding its value to your running total. At each round you have two choices: 1) draw another card from the deck and add its value to your total 2) add the value of the highest card previously drawn to your total What strategy, based on the constraints R and C, gives you the optimal total at the end of the R rounds?

See The Solution Submitted by Daniel    
Rating: 4.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Long analysis of a simple case | Comment 3 of 7 |
(In reply to Long analysis of a simple case by Steve Herman)

You are on the right track, however there is in fact a closed form equation for the decision threshold.  Also, when I pointed out the dependence on R in this equation, it is because I count the rounds x, from the beginning and thus use R-x for the rounds remaining.  If instead, as you are, you count x as the rounds remaining then R is not needed in the equation.  There is a clever trick which allows you to solve this using 2 summations to form a quadratic inequality based on current maximum card m.  If the solution is not found in the next day or so I will post a hint in the form of the theorem which allows one to easily solve problems like this.


  Posted by Daniel on 2010-09-08 20:32:53
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information