<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Computer_science Math on Xi's Blog</title><link>https://xichen1997.github.io/categories/computer_science-math/</link><description>Recent content in Computer_science Math on Xi's Blog</description><generator>Hugo -- 0.154.5</generator><language>en-us</language><lastBuildDate>Sat, 26 Oct 2024 00:05:00 +0000</lastBuildDate><atom:link href="https://xichen1997.github.io/categories/computer_science-math/index.xml" rel="self" type="application/rss+xml"/><item><title>An interesting flipping coin question</title><link>https://xichen1997.github.io/posts/2024-10-26-an-interesting-flipping-coin-question/</link><pubDate>Sat, 26 Oct 2024 00:05:00 +0000</pubDate><guid>https://xichen1997.github.io/posts/2024-10-26-an-interesting-flipping-coin-question/</guid><description>&lt;h1 id="an-interesting-flipping-coin-question"&gt;An interesting flipping coin question&lt;/h1&gt;
&lt;h2 id="problem-statement"&gt;Problem statement&lt;/h2&gt;
&lt;p&gt;You have a fair coin, which means a flip result could be tail(T) and head(H), and their probability is 50%.&lt;/p&gt;
&lt;p&gt;You cast the coin until the coin until have a pattern &amp;ldquo;THTHT&amp;rdquo; or &amp;ldquo;THHHT&amp;rdquo;, which one is easier to get? And their probability?&lt;/p&gt;
&lt;h2 id="first-thought"&gt;First thought&lt;/h2&gt;
&lt;p&gt;Lots of people will think they are identical intuitivly because &amp;ldquo;T&amp;rdquo; and &amp;ldquo;H&amp;rdquo; both have same probability to get. Then their probability is $\frac{1}{2}^5$.&lt;/p&gt;</description></item></channel></rss>