A Devious Bet 2: Law of Large Numbers

You meet up with a slightly familiar mustached squid “man” He may or may not have bankrupted you infinitely times over in the past, but you’re over it. In fact he has a new deal for you! Every day he will modify your bank balance in one of two ways. With probability 0.6, your balance … Read more

5 Holiday Math Puzzles

Happy Holidays! Here are a couple Christmas and Hanukkah puzzles just for you: The 2n-Menorah: In an alternate universe, instead of the flask in the temple lasting for just 8 days, it lasted for 2n days for a positive integer n. Thus, Hanukkah in that universe is celebrated for 2n days, and the menorah has … Read more

A Tale of Drunk Worms and Random Walks

Meet Larry the worm. Larry had a wonderful night drinking at a bar with his friends. Alas, Larry got a bit too drunk, so when he and his friends finished drinking, he went to walk (err, crawl) home, drunk. Larry and his friends live on a one dimensional road. As Larry is drunk, he walks … Read more

Stable pairings and how to find them (Gale-Shapley algorithm and also puppies)

From dating apps to matchmaking in video games, and matching computers to the best servers, matching problems have a notable presence in computer science and game theory nowadays. So let’s look at one of this problems, which has a rather simple premise and a surprisingly simple solution. The problem deals with finding stable pairing (say, … Read more

Why “almost surely” a math blog?

So why is this only “almost surely” a math blog? For technical reasons, it’s because maybe in the future some posts will not be about math but related subjects (or unrelated, perhaps in 2026 this blog will be about pistachios, who knows honestly). But the major reason I chose this title is as a reference … Read more