<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Art3mis on Medium]]></title>
        <description><![CDATA[Stories by Art3mis on Medium]]></description>
        <link>https://medium.com/@sad.gurooo?source=rss-81cda2566c11------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TZ0t-TbAPAhPg4Ji6fDxmw.jpeg</url>
            <title>Stories by Art3mis on Medium</title>
            <link>https://medium.com/@sad.gurooo?source=rss-81cda2566c11------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:26:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sad.gurooo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Covent Garden Problem Puzzle]]></title>
            <link>https://medium.com/@sad.gurooo/covent-garden-problem-puzzle-a5e417bf15a5?source=rss-81cda2566c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5e417bf15a5</guid>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[math-puzzles]]></category>
            <category><![CDATA[partnerships]]></category>
            <dc:creator><![CDATA[Art3mis]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 13:36:19 GMT</pubDate>
            <atom:updated>2026-03-23T13:40:04.575Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Arithmetic and Algebra in Partnership Problems as Applied Mathematics</strong>.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*oFbQfPbFwYZw1JvSCIvjIA.png" /></figure><p>Hey! Recently, on my quest to finding witty, complicated and down-right stunning problems, I’ve uncovered this gem.</p><p>It’s a pretty popular puzzle made by Sam Loyd.</p><blockquote>Here is a puzzle known as the Covent Garden Problem, which appeared in London half a century ago, accompanied by the somewhat surprising assertion that it had mystified the best mathematicians of England:</blockquote><blockquote>Mrs. Smith and Mrs. Jones had equal number of apples, but Mrs. Jones had larger fruits and was selling hers at the rate of two for a penny, while Mrs. Smith sold three of hers for a penny.</blockquote><blockquote>Mrs. Smith was for some reason called away and asked Mrs. Jones to dispose of her stock. Upon accepting the responsibility of disposing her friend’s stock, Mrs. Jones mixed them together and sold them of at the rate of five apples for two pence.</blockquote><blockquote>When Mrs. Smith returned the next day, the apples had all been disposed of, but when they came to divide the proceeds, they found that they were just seven pence short, and it is this shortage in the apple or financial market which has disturbed the mathematical equilibrium for such a long period.</blockquote><blockquote>Supposing that they divided the money equally, each taking one-half, the problem is to tell just how much money Mrs. Jones lost by the unfortunate partnership?</blockquote><p>This is a pretty straight forward question once you segregate your information. You can always stop here to try the problem yourself before we simplify it.</p><h3>Solution</h3><p>We are given that Mrs. Jones and Mrs. Smith had <strong>equal amounts</strong> of apples.</p><p>First, let’s form an equation for <strong>individual earnings if sold separately:</strong></p><p>Suppose each of them had <strong>N apples</strong>.</p><p><strong>Mrs. Jones</strong> sells 2 for 1 pence which implies that her earning is N/2 pence.</p><p><strong>Mrs. Smith</strong> sells 3 for 1 pence, i.e. she earns N/3 pence.</p><p><strong>Total (separate sales)</strong> = (N/2) + (N/3)= <strong>(5N/6) pence.</strong></p><p>Now, let’s find their earnings when the apples are <strong>mixed and sold together:</strong></p><p>Total number of apples after combining = <strong>2N.</strong></p><p><strong>Sold at 5 for 2 pence</strong> implies that each apple was worth (2/5) pence.</p><p>So, total earnings = 2N * (2/5) = (4N/5) pence.</p><p>That means, the difference i.e. shortage= (5N/6)- (4N/5) = (N/30)</p><p>Wait, but we were already told that the shortage was <strong>7 pence.</strong></p><p>Upon equating both of them, we get: (N/30) = 7</p><p><strong>implies N = 210</strong></p><p>Now that we know the value of N (Total number of apples), we can find their <strong><em>actual</em> earnings</strong>:</p><p>Separate sales: 5N/6 = (5*210)/ 6 = 175 pence.</p><p>Mixed sales: 4N/6 = (4*210)/ 5 =168 pence.</p><p>These values also match our shortage of 7 pence.</p><p>When we divide the mixed sales equally, we get 168/2 = <strong>84 pence.</strong></p><p>This is how much each of them made when they combined their apples.</p><p><strong>Compare this with their separate earnings:</strong></p><p>Mrs. Jones should have earned 105, but got 84, meaning she faced a <strong>loss of 21 pence</strong>.</p><p>Mrs. Smith should have earned 70 but got 84 implying the <strong>gain of 14 pence</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/0*cgkSlYF9KQqAKJyz.jpg" /></figure><p>That’s it folks! We have learnt that Mrs. Jones is a little bit on the weaker side of mathematics, nothing that she can’t fix by following me and subscribing to my posts. Is it weird that this post was made entirely because I really wanted to make that joke? I don’t know. Honestly, as long as we’ve got a neat, elegant problem-solution relationship going on here, we’re good :)</p><p>Please do consider checking out my other posts, and hope y’all had a nice read!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5e417bf15a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Chicken Perplexion]]></title>
            <link>https://medium.com/@sad.gurooo/the-chicken-perplexion-f2470448a816?source=rss-81cda2566c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2470448a816</guid>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[thought-experiment]]></category>
            <dc:creator><![CDATA[Art3mis]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 12:16:47 GMT</pubDate>
            <atom:updated>2026-03-18T13:00:21.352Z</atom:updated>
            <content:encoded><![CDATA[<h4>Thought experiments and strategic reasoning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n7aF5GKpWMudRVvK" /><figcaption>Photo by <a href="https://unsplash.com/@sigmund?utm_source=medium&amp;utm_medium=referral">Compagnons</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Recently, I have come across a very fascinating thought experiment- Chicken.</p><p>Yes. Weird name. I agree. But here me out- It&#39;s one of those problems that’s going to make you feel all warm and fuzzy in the insides. So here it goes:</p><blockquote>The game of chicken models two drivers, both headed for a single-lane bridge from opposite directions. The first to swerve away yields the bridge to the other. If neither player swerves, the result is a costly deadlock in the middle of the bridge or a potentially fatal head-on collision. It is presumed that the best thing for each driver is to stay straight while the other swerves (since the other is the “chicken” while a crash is avoided). Additionally, a crash is presumed to be the worst outcome for both players. This yields a situation where each player, in attempting to secure their best outcome, risks the worst.</blockquote><p>What would you do if you were one of the players? Would you swerve? Also, try going a little unconventionally.</p><p>So, there is a direct answer to this but according to me, it doesn’t do justice to the problem on its own so we’re gonna say goodbye to our cozy little box again.</p><p>Before you scroll, why don’t you try it for yourself? The solution is always gonna stay here; by peeking too early you hurt no one but yourself and the problem will be lost forever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*Tk80j5mrXT8WNQ0emzXmSg.png" /></figure><h3>Path to a Solution</h3><p>So, we have established that this is a video game. Incase it’s multi-player, and assuming you get to play- more than once -with actual humans, the rational thing to do would be to try and build a reputation of either swerving constantly or never swerving (Let us consider the latter). Until eventually, almost everyone who plays the game knows that you never swerve. This would almost guarantee your victory against any sane player.</p><p>Now, let’s get a little bit more real and closer to the actual solution:</p><p>Assume that you only get to play once. Also assume that you aren’t in one of the race car games kinda thing where you only see through the windshield i.e. you are a player free to whatever you want inside the car that doesn’t affect the fact that you either should or shouldn’t swerve. For all the smarty pants out there- no, you do not have brakes.</p><p>Now what would you do?</p><p>Our goal is to try not to swerve. However, if we are sure that our opponent won’t swerve, we have no other choice than to swerve. The same applies to our opponent. So essentially, all we would need to do is trick them into believing that we would absolutely not swerve, no matter what. If you pay attention, you would realise that this is exactly what we did before. By building a reputation of not swerving, we have tricked our opponent into thinking that they need to swerve or they would die. But the only difference is, we cannot build a reputation if we only get to play once. So what now?</p><p>At this point, we have understood the puzzle and the philosophy behind it.</p><p>But the solution is going to drive you bonkers.</p><p>We just got to make sure they know we won’t- or <em>can’t- </em>swerve, right? So, <em>essentially, </em>we can just detach the steering wheel and throw it out the window.</p><p>Yes. I know. It&#39;s stupid. But it is actually flawless logic. And I’m laughing at your faces through the screen right now.</p><p>By throwing the steering wheel, or something equally stupid, like switching to the passenger’s seat in a way that shows that you’re not going to touch the steering wheel anytime soon, you ensure that they swerve- because you physically can’t.</p><p>I’m wheezing right now. I’m rolling on the ground and my metaphorical chair is fallen down. Comment if you can argue for a better solution-or if you think my approach is wrong-or if you genuinely liked my post. But if you want to advertise your godforsaken furniture, and I’m putting this in the nicest way possible, please, for the love of all things holy, stop spamming every post like it’s Craigslist circa 2008.</p><p>That’s all folks. Hope you had a good read!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2470448a816" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Horse and Man Problem]]></title>
            <link>https://medium.com/@sad.gurooo/horse-and-man-problem-a2c1432dd821?source=rss-81cda2566c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2c1432dd821</guid>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[logic-puzzles]]></category>
            <category><![CDATA[logical-thinking]]></category>
            <dc:creator><![CDATA[Art3mis]]></dc:creator>
            <pubDate>Mon, 09 Mar 2026 13:22:47 GMT</pubDate>
            <atom:updated>2026-04-17T12:50:54.195Z</atom:updated>
            <content:encoded><![CDATA[<h4>Intriguing physics problem on tension</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_TXCPyM6P_f6MDa0Lh38A.png" /></figure><p>Hark! I have stumbled upon a riddle most cunning, a labyrinth of wit and wonder, whose tangled threads do mock the feeble hand that seeks to unravel them. Wanna give it a go?</p><blockquote>A really strong man, let’s say Barry, can withstand the tension force exerted by the two horses pulling in opposite directions. How would the tension compare if only one horse pulled and the left rope were tied to a tree? How would the tension compare if the two horses pulled in the same direction, with the left rope tied to the tree?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*EhvURBXEyB7OjsSUUlCeqw.gif" /></figure><p>Let’s pause right here so you can try the problem for yourself. Dividing the problem into three cases will help you simplify it. The solution is below. Take your time to solve this one! If you peek early, you hurt no one but yourself. Once you look, the problem is gone forever.</p><h3>SOLUTION</h3><p>Let’s consider the first case. In order to understand the problem, we must simplify it. For instance, consider the following diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*szDRwqmAv9RQ2_uU" /></figure><p>Over here, Barry is the spring balance, and the weights are the horses. Can you try to calculate the reading on the spring balance?</p><p>At our first glance, you may assume that it would be 0N, because each weight nullifies the other. However, you would have soon realized that that was the net force. The spring balance measures the tension on the spring. Now, you would probably think that the reading would be 20N.</p><p>However, if it showed 20 N, that would imply the spring is under twice the force, but in reality, the tension is uniform and equal to the pull of one side.</p><p>Think of it like this: if you and a friend each pull on opposite ends of a rope with 100 N, the rope’s tension is 100 N, not 200 N. The forces don’t add because they act in opposite directions — they balance each other, but the rope still feels 100 N of tension.</p><p><strong>The answer is actually 10.</strong> This is because the second weight just acts like a opposing force in order to balance the first weight. Without the second weight, the spring balance would just move freely and wouldn’t show a meaningful reading. The second weight is essentially the “counter-force” that makes the measurement possible.</p><p>If you replace the weight with a wall, as shown below, it will make absolutely no difference to Barry’s reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*ZOJvYmNfP6YQD8vdW1qsbA.png" /></figure><p>This was our second case, where the wall is the tree, Barry is the spring balance, and the weight is the horse. Therefore, it would make no difference to our man Barry if the horse was replaced by a tree.</p><p>Now let’s consider this diagram for our third case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3dajT4C19TwPjvc3JgPyKw.png" /></figure><p>The spring balance measures the <strong>tension in the rope</strong>. Since the system is in equilibrium and both weights are equal:</p><ul><li>The total downward force from the weights is 10N+10N = 20N. This force is transmitted through the rope to the spring balance.</li><li><strong>Therefore, the spring balance will read 20 N.</strong></li></ul><p>We can pretty much say goodbye to Barry’s arms. But hey! At least he can focus on Leg Days from now on :)</p><p>Hope you had a good read!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2c1432dd821" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Markov Chains]]></title>
            <link>https://medium.com/@sad.gurooo/markov-chains-b8ea4e64183c?source=rss-81cda2566c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8ea4e64183c</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Art3mis]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 12:54:29 GMT</pubDate>
            <atom:updated>2026-03-09T13:27:05.555Z</atom:updated>
            <content:encoded><![CDATA[<h4>Mathematical prediction algorithms</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lQ8I8kgZ99bi8qar.jpg" /></figure><h4>Markov chains are fascinating, fascinating things. I felt like a squirrel on red bull when I learnt about them, and I vow to make sure you leave this site feeling like a squirrel on red bull. It’s so<em> clever </em>and <em>elegant </em>that we use it every day! You wanna know tomorrow’s weather? Markov chains. You wanna place the winning bet? Markov chains. Marketing, economy, biology, engineering, you name it and it’s there!</h4><p>Markov processes are named in honor of the Russian mathematician <strong>Andrey Markov.</strong> A Markov process is a stochastic process that satisfies the Markov property (sometimes characterized as “memorylessness”).</p><p>Yeah…That doesn’t help, does it? In simpler terms, <strong>it is a process for which predictions can be made regarding future outcomes based solely on its present state and — most importantly — such predictions are just as good as the ones that could be made knowing the process’s full history.</strong></p><p>That…sounds too good to be true, right?</p><p>Wrong. Its pretty simple once we dive into the math. First, we have to understand few basic terminologies regarding Markov chains.</p><p><strong>Transition Matrix: </strong>Markov chains can be represented using a transition matrix, where each entry indicates the probability of moving from one state to another. <em>The sum of probabilities in each row of the matrix equals 1</em>, reflecting the total probability of transitioning from a given state.</p><p><em>Every Markov chain can be simplified using a transition matrix.</em></p><h3>Example</h3><p>Let’s consider a simple weather model with only two possible states: “Sunny” and “Rainy.”</p><ul><li>If today is <strong>sunny</strong>, there is an 80% chance that tomorrow will also be <strong>sunny</strong>, and a 20% chance it will rain.</li><li>If today is <strong>rainy</strong>, there is a 40% chance that tomorrow will be sunny, and a 60% chance it will continue to rain.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*tEoPXCcqDD34EC9W.jpeg" /><figcaption>A Transition Matrix for Weather Forcasting</figcaption></figure><p>Notice what’s happening here. <strong>tomorrow’s weather depends only on today</strong>, not on what the weather was yesterday, or the day before. This is the memoryless property in action. Even this simple model can reveal patterns over time. If we start with a 60% chance of sunshine today, we can compute probabilities for tomorrow, the day after, and even further into the future by repeating the same calculation step.</p><p>Visualizing these transitions helps even much better. Imagine circles representing each state, Sunny and Rainy with arrows between them showing the probability of moving from one state to another.</p><p>Over time, we can watch how probabilities evolve and even settle into a <strong>steady state</strong>, where the chance of sun or rain stabilizes, no matter where we began.</p><p>This principle underpins Google’s PageRank, which treats web pages as states in a giant Markov Chain to rank their importance.</p><h3>Components of a Markov Chain</h3><p>To formally describe a Markov Chain, we need three main components:</p><ol><li><strong>States</strong> All the possible situations the system can be in. In our weather example, the states are Sunny and Rainy.</li><li><strong>Transition Probabilities</strong> The probabilities of moving from one state to another. For example, the probability of moving from Sunny to Rainy is 0.2.</li><li><strong>Initial State Distribution</strong> This is the starting point of the system. For instance, if we don’t know the weather today, we might assume a 60% chance it is sunny and a 40% chance it is rainy.</li></ol><p>We often organize the transition probabilities into a <strong>transition matrix</strong> for easier computation,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/149/0*ffcei1flmmWEr4wb.png" /></figure><p>Here, the rows correspond to the current state, and the columns correspond to the next state. Each row sums to 1 because the system must transition to some state.</p><h3>Beyond Simple Weather Models…</h3><p>Markov Chains are more than just a classroom example. They appear in board games, where our next move depends only on your current position. In finance, modeling stock market trends, in queuing systems like hospitals or call centers managing waiting lines and in natural language processing, predicting words in a sentence.</p><p>Markov Chains can also feature different types of states. Some are <strong>recurrent</strong>, meaning the system will eventually return to them. Others are <strong>transient</strong>, which might be left behind permanently. Then there are <strong>absorbing states</strong>, where once entered, the system never leaves like reaching the “Finish” square in a board game.</p><h3>How Markov Chains Predict the Future</h3><p>Once the transition matrix and initial distribution are known, we can predict the system’s behavior over time.</p><p>Suppose our initial state distribution is:</p><p>π0​=[0.6,0.4]</p><p>This means there is a 60% chance it starts sunny and 40% chance it starts rainy. To find the probabilities for the next day, we multiply the initial distribution by the transition matrix.</p><p>π1 ​= π0 ​P</p><p>If we want probabilities for the day after that, we multiply again,</p><p>π2 = π0 P²</p><p>This process can be repeated as many times as needed, allowing us to <strong>see how the probabilities evolve step by step</strong>.</p><h3>Steady-State Distribution</h3><p>One fascinating feature of many Markov Chains is the steady state distribution (also called the stationary distribution). This is a set of probabilities that doesn’t change over time, even as the system continues to evolve,</p><p>π = π P</p><p>After many steps, the system reaches an <strong>equilibrium</strong>, where the chance of being in any state becomes stable. In our weather example, after a long time, the probability of a sunny day or a rainy day settles into fixed values, no matter what the initial weather was.</p><h3>Types of States in a Markov Chain</h3><p>Markov Chains can have different types of states, each with special properties:</p><p><strong>Recurrent states</strong>: These are states that the system is guaranteed to return to at some point. No matter where it goes next, it will eventually come back.</p><ul><li><strong>Example,</strong> In a board game like Monopoly, a player will eventually pass the “Go” square repeatedly. “Go” is a recurrent state because it is visited over and over during the game.</li></ul><p><strong>Transient states</strong>: These are states that the system might leave and never return to. Once the system moves on, there’s a chance it won’t revisit them.</p><ul><li>In the same board game, a temporary “Chance” square could be considered transient because the player may not land on it again after moving past it.</li></ul><p><strong>Absorbing states</strong>: These are final states. Once the system enters an absorbing state, it stays there forever.</p><ul><li>The “Finish” square in a racing board game or the “Bankrupt” state in Monopoly is absorbing because once a player reaches it, the game ends for them. They cannot leave this state.</li></ul><h3>Real Life Applications</h3><p>Markov Chains are everywhere often in ways we might not expect:</p><ol><li><strong>Weather Forecasting</strong>: Predicting tomorrow’s weather based on today’s conditions.</li><li><strong>Board Games</strong>: Simulating moves in games like Snakes &amp; Ladders or Monopoly.</li><li><strong>Web Search</strong>: Google’s PageRank algorithm models the web as a giant Markov Chain.</li><li><strong>Finance</strong>: Modeling stock prices or market trends.</li><li><strong>Queuing Systems</strong>: Banks, hospitals, or call centers use Markov Chains to manage waiting lines.</li><li><strong>Natural Language Processing</strong>: Generating text or predicting words using probabilistic models.</li></ol><p>Essentially, any system that evolves in steps with probabilities can be modeled using Markov Chains.</p><p>Did you know that even Spotify uses Markov chains? Try to explain how in the comments below :)</p><h3>The Final Piece of the Grand Hotel Paradox:</h3><p>For those who have not read my previous post, the link is attached below, please do check it out.</p><p>We’ve already talked about how the manager of a hotel with an infinite number of rooms in which every room is filled makes space for more guests, even an infinite number of guests! <strong>But what happens when an infinite number of infinite guests arrive at the hotel?</strong></p><p>Can we organize the guests so that there is enough rooms for everyone?</p><h4>Part 3: An Infinite Number of Infinite Busses</h4><blockquote><em>One night the manager of the Infinite Hotel, which has no vacancy, looks out the window to see an infinite number of busses each filled with an infinite number of room-seeking guests?</em></blockquote><blockquote><em>Can she make room for an infinite number of infinite people in the infinite hotel although the hotel is completely full?</em></blockquote><h4>In Search of an Elegant Solution</h4><p>As we discussed in the last post, the key to solving these paradoxes is to find a mapping (i.e. bijection) from our current guests, which are naturally numbered, to a new set that leaves enough room for the new guests.</p><p>Recall that when we needed to make room for 5 guests, we move everyone in the hotel up 5 rooms, leaving the first 5 empty. And when we needed to make room for a countably infinite set of guests, we moved all of our current guests to the even numbered rooms, leaving an infinite number of odd numbered rooms for our new guests.</p><p><em>So what clever device can we employ to move our current guests that will free up an infinite number of infinite rooms?</em></p><h4>A helpful fact that we could use right about now is:</h4><blockquote><strong><em>The set of all prime numbers is countably infinite</em></strong><em>.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/0*77Ydxg1vXsD7k6yd.png" /><figcaption>Prime Numbers</figcaption></figure><p>Although this may seem like an obscure fact, it’s a result that’s been known for centuries. Our man Euclid showed us this was true back in 300BC.</p><p>Since the set of primes is countably infinite, we can take the guests and systematically assign them to powers of prime numbers (which we know will be unique by the prime factorization theorem).</p><h4>How to Move the Current Guests</h4><p>For starters, we’ll move the infinite set of guests currently in the hotel from their current room numbers (i.e. the natural numbers) to powers of the first prime number, 2.</p><p>So the guest in room 1 goes to room 2¹= 2, the guest in room 2 goes to room 2² = 4, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/0*VXmwy3ReLEE8Eo_r.png" /><figcaption>mapping for current hotel guests</figcaption></figure><h3>Bus #1’s Room Assignments</h3><p>Then we’ll take the guests from the first bus and assign them to powers of the next prime number, which is 3, using their seat numbers as the powers.</p><p>For example in this first bus we’ll move the guest from seat 1 to 3¹ = 3, the guest from seat 2 to 3² = 9, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*OzgA05wsvligwDvU.png" /></figure><p>mapping for guests on bus #1</p><h3>Bus #2’s Room Assignments</h3><p>We’ll continue this pattern using the next prime number as the base for the next bus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/0*NiZOSIX2apQbV9su.png" /></figure><p>mapping for guests on bus #2</p><h3>And So On…</h3><p>Because we have an infinite set of prime numbers, theoretically we can continue using the next prime as the base for each of the countably infinite busses. And since raising the prime number to a new power produces a brand new room number, we can locate rooms for the infinite guests on each bus.</p><p><em>We did it! We’ve found a way to ensure a unique room for an infinite number of infinite guests!! And crazy as it may seem, we’ll leave a lot of rooms unoccupied in the process.</em></p><p>The Infinity Hotel Paradox Part 1:</p><p><a href="https://medium.com/@sad.gurooo/hilberts-hotel-paradox-a9830ed6bb69">Hilbert’s Grand Hotel Paradox. Intriguing Infinities | by Art3mis | Feb, 2026 | Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8ea4e64183c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hilbert's Grand Hotel Paradox]]></title>
            <link>https://medium.com/@sad.gurooo/hilberts-hotel-paradox-a9830ed6bb69?source=rss-81cda2566c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9830ed6bb69</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[logical-thinking]]></category>
            <category><![CDATA[paradox]]></category>
            <dc:creator><![CDATA[Art3mis]]></dc:creator>
            <pubDate>Tue, 10 Feb 2026 15:21:11 GMT</pubDate>
            <atom:updated>2026-02-15T12:58:58.238Z</atom:updated>
            <content:encoded><![CDATA[<h4>Intriguing Infinities</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UF03ELphoIL_Sqrw.jpg" /></figure><h4>The Joy of Infinity Mathematics has a way of sparking delight. For some, comfort comes from curling up with a novel; for me, it’s from the thrill of unraveling a clever problem. One of the most intriguing problems are those involving infinity. Let’s explore one together.</h4><h4>Part 1: The Grand Hotel Paradox</h4><p><em>Imagine a Grand Hotel with a (countably) infinite number of floors and rooms. On this particular night, the hotel is completely full.</em></p><p><em>Late in the evening, you arrive at the hotel and inquire about a room. Although there is no vacancy the hotel manager tells you that since this is an infinite hotel she can easily make room for you!</em></p><p><em>You’re delighted, but confused. If the infinite hotel is completely filled with an infinite number of guests, how does the manager go about securing a room for you?</em></p><p>This is the magic of <strong>countable infinity</strong>. A set is countably infinite if its elements can be matched one-to-one with the natural numbers (1, 2, 3, …). Even the set of even numbers fits this definition…How so?</p><p>Let me show you!</p><p>We want to compare two sets:</p><ul><li>Set A is the set of all numbers. It looks like 1, 2, 3, 4, …</li><li>Set B is the set of all even numbers. It looks like 2, 4, 6, 8, …</li></ul><p>To begin our general method of counting we need to make a bijection between Set A and Set B.</p><p>To do this I’m just going to write the start of each set in order and draw a line between the ordered elements of each set, one by one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*sIjJpqwY0itjal5XRrEIfA.png" /></figure><p>Now it appears that we could just go on in this way forever and ever, matching up each pair one by one. And if I can then that means that the two sets are equal in size.</p><p>We have one thing left to do to secure our argument.</p><p>Since we can’t actually write out the entirety of each set we need to describe a formulaic relationship between the two sets to ensure I could keep matching up the elements in this manner forever.</p><p>Well, that turns out to be rather simple. Each element in Set B is twice the value of it’s paired element in Set A.</p><p>So our relationship is <strong>2 times n where n is the set of natural numbers.</strong></p><p>And because we found a bijection between the two sets with a bulletproof relationship, we have confirmed that contrary to our intuition the <strong><em>set of all natural numbers is equal in size (formally: the same cardinality) to the set of all even numbers.</em></strong></p><p>Boom.</p><p>That may have seemed unnecessary but I can assure you, it is gonna come real handy, real soon.</p><p>Coming back to our original question, let me give you a hint to simplify it for you: Think of the most suitable mapping you can use to efficiently utilise every hotel room while making sure none of your guests spend the night on the streets.</p><p>The answer will be waiting for you in the very next paragraph, but why don&#39;t you try it out for yourself first?</p><h3>The Solution:</h3><p>At first you may think, “<em>Well since it’s infinite can’t we just put the new guest in the last room?</em>” Except since it’s infinite there really isn’t a last room and even if we were to locate that room it’s occupied.</p><p>The trick to solving this problem is to make a mapping from our countably infinite set of rooms to another countably infinite set of rooms that leaves us with an extra unoccupied room.</p><p>That sounds confusing but it is similar to how we proved the set of all even numbers was the same size as the set of natural numbers.</p><h3>There may not be a last room, but there’s always a next room…</h3><p>Let’s visualize the rooms as a set ranging from 1 to an infinite number <em>n</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/0*8AOF5_yrUdx6fDi8.png" /></figure><p>There isn’t a last room, but there is always a next room. So the trick is to simultaneously move each person to the next room. For example, move the person in room #1 to room #2, room #2 → room #3, room #3 → room #4 and so on.</p><p>And that, Ladies and gentlemen, is our mapping:<strong><em> n → n + 1.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*OhJGGG-Zm-MRp6_YQNPWKg.png" /></figure><p>The manager asks each guest to move from room n to room n+1. Suddenly, room #1 is free for you. And if she wanted, she could free up 50 rooms, or even 5 million, using the same shifting strategy. Infinity is flexible like that.</p><h3>Part 2:</h3><p>Oh I’m sorry, did you think we were done already? Nope, we’re gonna solve an extension of this paradox, cause we’re quirky like that.</p><p>The next evening, things get wilder. An infinitely long bus pulls up, carrying infinitely many new guests. The hotel is already full - but the manager knows what to do. <em>Our math savvy manager jumps up and begins preparing an infinite number of rooms for the infinite number of new guests. How does she do this?</em></p><p>I bet you know the answer to this one.</p><p>Think about it…you need to move each current guest at the infinite hotel to a new room so that there will be a countably infinite number of unoccupied rooms for the new guests…</p><p>This is awfully similar to something we have done before… Have you got it?</p><p>Yeah, it’s the same as our proof where we showed that the set of counting numbers is the same size as the set of even numbers!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*sIjJpqwY0itjal5XRrEIfA.png" /></figure><p>So, she moves each current guest from room n to room 2n. Now all the even-numbered rooms are occupied, and every odd-numbered room is available. That&#39;s infinitely many spaces for infinitely many new arrivals.</p><p>Here&#39;s the paradox: the infinite set of rooms has been split into two infinite subsets, each the same &quot;size&quot; as the original. I still can’t get over that…Infinity defies our everyday intuition.</p><h3>Part 3:</h3><p>That’s right folks! Another extension to our extension.</p><p>Now, <em>imagine an Infinite Fleet of Infinite Buses One night. Yeah, better re-read that one…Not just one bus, but infinitely many buses arrive, each carrying infinitely many passengers. Can the hotel still accommodate them?</em> This puzzle is trickier, but solvable.</p><p>The key lies in clever mappings - and primes will play a role. Since the prime numbers themselves form a countably infinite set, they provide a way to organize the chaos. I&#39;ll leave the full solution in my next post for you to ponder… but rest assured, even this scenario can be managed. Infinity is not just vast - it&#39;s playful, paradoxical, and endlessly surprising.</p><p>The solution is given in my next post: <a href="https://medium.com/@sad.gurooo/markov-chains-b8ea4e64183c?postPublishedType=repub">Markov Chains. Mathematical prediction algorithms | by Art3mis | Feb, 2026 | Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9830ed6bb69" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>