>By the way, the optimal solution is to flip INT(n * e / 10) cards, where n is the number of cards in the deck, and the proof is rather complicated...
>
>Daniel
I had somehow overlooked the fact that the deck of cards was shuffled.
==========
Here is another doubtful bet:
You pay me a certain amount of money at the beginning. I flip a coin. If "tail" appears, the game ends - you get nothing in exchange for you initial bet. If "head" appears, I pay you $1, and the game continues. If "head" appears for the second time,I pay you $2. The third time, $4, the fourth time $8, etc. - but as soon as "tail" appears, the game is over.
How much would you be willing to pay to play this game?
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)