tag:blogger.com,1999:blog-6708375.post111417646625444018..comments2023-06-07T13:49:32.784-04:00Comments on Canadian Cynic: A math puzzle for the weekend.CChttp://www.blogger.com/profile/11406057201126015750noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-6708375.post-1114536499624928992005-04-26T13:28:00.000-04:002005-04-26T13:28:00.000-04:00good point harlequin - I was forgetting about the ...good point harlequin - I was forgetting about the start conditions.<BR/><BR/>CC - "be very leery any time someone charitably says, "And, hey, I'll even let you pick first."<BR/><BR/>Brings back memories of the old game where you and your opponent take turns choosing either the number one or two (with each successive pick adding to the running total) with the person who makes the total = 21 being the winner.<BR/><BR/>(it was painful watching the cnotestants butcher that game on Survivor by the way)Legacy Userhttps://www.blogger.com/profile/13551549760835006619noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114464583633133712005-04-25T17:29:00.000-04:002005-04-25T17:29:00.000-04:00I'll have to dig through my puzzle archive to find...I'll have to dig through my puzzle archive to find <B>my</B> solution. It may or may not be any simpler than this one, though.<BR/><BR/>The key lesson for games of chance, though, is to be <B>very</B> leery any time someone charitably says, "And, hey, I'll even let you pick first."<BR/><BR/>Chances are, they're not doing you any favours.CChttps://www.blogger.com/profile/11406057201126015750noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114464327634029802005-04-25T17:25:00.000-04:002005-04-25T17:25:00.000-04:00As said, you use the first two of his as last two ...As said, you use the first two of his as last two of yours; pick the first one of yours as you like, 'cept you might need to pick the one he didn't, in the case of an HHH/TTT pick.<BR/><BR/>I see the odds of a win with this strategy as 58.33%. Put it this way. Right off the bat, your opponent has a one in eight chance of winning on the first three tosses. Accept that risk and move on. The other seven-eighths of the time, the fact that there's a "first throw" is irrelevant and we can talk about general sequences where there's a coin toss before it as well as one after it.<BR/><BR/>Of those general sequences, we throw away all subsequences which don't center on his first two/your last two calls. Nobody wins, the subsequence is irrelvant (except to the odds of how long such a game would take to finish). Call that sequence XY; let's say you win on HXY, he wins on XYH. Doesn't matter what XY are.<BR/><BR/>There are four possible runs of the form _XY_. In one of them, TXYT here, nobody wins. In two of them, HXYT and HXYH, you win. In one of them, TXYH, your opponent wins. You win 2/3ds of the time.<BR/><BR/>So you have 7/8ths odds of making it past the risk of an XYH opening, to where those general sequences (of the form _XY_) can happen. Then 2/3ds of those are in your favour. 2/3 * 7/8 = 58.3% odds of a win.<BR/><BR/>Nice puzzle, though.Harlequinhttps://www.blogger.com/profile/12990441207560933458noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114414890474314722005-04-25T03:41:00.000-04:002005-04-25T03:41:00.000-04:00aweb - I took the same route and came up with the ...aweb - I took the same route and came up with the same solution. But I'm thinking, if your opponent had a sequence that ended with the same letter twice (say THH or TTT), wouldn't you want to choose as your first letter the one which doesn't make a HHH or TTT sequence (i.e. THH or HTT)? Since if you have HHH or TTT as your sequence you're cutting off your own options like you are doing to your opponents by taking their first two letters as your last two. <BR/><BR/>Could be wrong, that's just what I vaguely remember from drawing the tree yesterday...Legacy Userhttps://www.blogger.com/profile/13551549760835006619noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114376251174824742005-04-24T16:57:00.000-04:002005-04-24T16:57:00.000-04:00my chances of winning after each flip (starting wi...my chances of winning after each flip (starting with the third one) : 1/8+ 2/16 +4/32 +6/64 +9/128 +12/256 +16/512 +20/1024 +25/2048 +30/4096+....etc the denominator doubles each time, the numerator adds 1,1,2,3,3,4,4,5,5, and so on.<BR/> This breaks into breaks into two infinite sums, which can be evaluated using some calculus. They sum to 2/3. <BR/><BR/>How did I get the numbers above? Tree diagram and pattern recognition. Brute force method, basically. Not the most mathematically rigorous method, I admit...I'm all for seeing a better proof of the solution.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114375300695662952005-04-24T16:41:00.000-04:002005-04-24T16:41:00.000-04:00Nah, might as well go with it. Like I said, the f...Nah, might as well go with it. Like I said, the first part's easy. I want to see the second part.CChttps://www.blogger.com/profile/11406057201126015750noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114375188797858862005-04-24T16:39:00.000-04:002005-04-24T16:39:00.000-04:00whoops, writing it as you posted..feel free to rem...whoops, writing it as you posted..feel free to remove my answer if want. Or if it's wrong, mock away..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114375104827855762005-04-24T16:38:00.000-04:002005-04-24T16:38:00.000-04:00Pick the first two values of your opponents' seque...Pick the first two values of your opponents' sequence for your last two. For your first one, I don't think it matters. In this way, for a lot of the sequences of heads and tails that lead to your opponent winning.<BR/><BR/>I have this figured at 2/3 chance of winning.<BR/><BR/>I could be wrong though...can anyone do better?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114374977263858382005-04-24T16:36:00.000-04:002005-04-24T16:36:00.000-04:00Let's say, lunch time Monday (which means I'd bett...Let's say, lunch time Monday (which means I'd better get cracking and figure out the answer -- it's been a while).<BR/><BR/>The first part, of course, is pretty easy. It's the second part that's tricky.<BR/><BR/>And what with Jonathan bragging about being off at his <A HREF="http://roamnomore.blogspot.com/2005/04/science-conference-blogging.html" REL="nofollow">computational science conference</A>, I'll be expecting some real cleverness from <I>him</I>.CChttps://www.blogger.com/profile/11406057201126015750noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114374109416053612005-04-24T16:21:00.000-04:002005-04-24T16:21:00.000-04:00So when do we get to propose our solutions? I gues...So when do we get to propose our solutions? I guess I'm probably wrong but I'm itching to know what's right...M@https://www.blogger.com/profile/16368926951261411464noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114256547034551292005-04-23T07:42:00.000-04:002005-04-23T07:42:00.000-04:00Game theory, number theory, combinatorics. I've d...Game theory, number theory, combinatorics. I've dabbled in all of them. Mostly, I'm a fan of math puzzles that are easy to explain but have non-intuitive solutions.CChttps://www.blogger.com/profile/11406057201126015750noreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114210371034283322005-04-22T18:52:00.000-04:002005-04-22T18:52:00.000-04:00I have a strategy that gets you much better than 1...I have a strategy that gets you much better than 1/2, but I'm not saying yet. <BR/><BR/>CC, have you studied game theory? The last two puzzles seem like those kind of puzzles.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6708375.post-1114184892151415872005-04-22T11:48:00.000-04:002005-04-22T11:48:00.000-04:00I think I have the answer. Although I won't post m...I think I have the answer. Although I won't post my solution yet in accordance with your request, I'll say that the probability of winning is <I>slightly</I> less than 50% with my strategy -- or 50% assuming that the other person does not win on the first three flips of the coin.<BR/><BR/>Which is far better than a random choice of three flips -- 1/2 probability of winning rather than 1/8. I can't see how your chances in any coin flip game can be better than 50%, in fact.M@https://www.blogger.com/profile/16368926951261411464noreply@blogger.com