for MATH MONDAYS

Tumblr ↗

posts every monday 8AM PST

Tag: writing

  • THE TRUTH ABOUT THE SPOTIFY SHUFFLE

    A very common feature of Spotify is the Shuffle, this puts songs from a certain album/playlist in a different order than they are usually in. The entire purpose of the shuffle is to be random, but what if i told you the shuffle uses a system that is much less random and more systematic, but makes it feel much more random.

    Lets take a simple example that shows the true meaning of randomness before we understand the shuffle system:
    If you asked anyone what the result would be if you randomly flipped a fair coin any given number of times, they would probably say an alternating sequence between heads and tails: HTHTHTHT……., and this would seem random. However, true randomness means you can constantly have consecutive heads or consecutive tails as every flip is independent to the one before it! Now lets take this same logic into the shuffle!

    Say I have a playlist with 100 songs, out of which 5 of them are made by Ed Sheeran. If the shuffle was truly random there is always a chance I will get all five of them in a row, but this wouldn’t feel random to an average listener, it would seem like a bug, and while this system is as random as it could get, it must be rigged to give variety and prevent such a situation from happening. Rather the system actually evenly splits certain genres or artists across the playlist. For example:
    Shuffle #1(One case for truly random, what listeners don’t like):
    Rock–>Pop–>Pop–>Pop–>Jazz
    Shuffle #2(Balanced and rigged, what listeners like):
    Pop–>Rock–>Pop–>Jazz–>Pop
    So if I have a case where 20% of my playlist is Country music, Spotify will map out the songs and space them exactly 5 spots apart, and will do this for all the other genres. The system I said would work, except for the fact that the shuffle on a certain playlist would be nearly identical everytime! The scientists who created this logic saw this through, so they introduced a tiny amount of random offset so the entire playlist isn’t completely in a pattern, so the country song could play in the 4th or 6th slot rather than exactly the 5th, ensuring a varied listening set everytime!

    So next time you listen to your favorite playlist using Shuffle, think back to the genius math behind it!

  • MONOPOLY probability(and how to use math to increase your odds at a win)

    The most famous board game of all time, MONOPOLY, is traditionally a game that has a history of going on for hours and a game that is entirely known to be played with strategy and a decent bit of luck, but what if I told you there was another factor? MATH!

    To start, lets breakdown 2 crucial details that will elegantly lead to a nice ranking of which color sets to aim for:
    1. Many would think that every MONOPOLY spot has an equal probability of landing on, but the reality is quite the opposite. The most landed on square is the notorious JAIL square. Let’s break this down:
    a.There is the self explanatory Just Visiting spot, this has the same probability as moving to any ordinary square.
    b.Then diagonally across the board we have the GO TO JAIL space, like before the same probability as any ordinary square
    c.Lastly there are also one chance and community chest card each titling GO DIRECTLY TO JAIL each with a 1/16 probability of drawing from their respective decks
    As you can see the JAIL square is superior(in terms of landing probability) to any other spot on the board, in fact this entire post centers around this very concept!

    2.The second detail all has to do with how the game is played, DICE! Well a normal dice rolls on any number evenly with each number a probability of 1/6 but like in MONOPOLY when there are two dice your expected value for each roll is a 7. In fact you have a 1/6 chance in doing so(this is calculated by 6 pairs making 7 and the total 36 number of outputs)!
    Now based on these two details let’s pair up frequency and price to get a overall ranking of the colorsets!

    EXPLANATION:
    (S)Orange: The colorset is clustered 6,8,and 9 spots away from the most visited spot jail, so from jail you have a 7/18 chance of hitting the orange set, it is also worth the same as the pink per house but has a much higher landing probability!
    (A)Light Blue: This colorset is severely undervalued! Its very easy to grab yourself hotels and is clustered 6,8,and 9 away from a common spot on the board GO!
    (A)Red:Expensive,but worth it. Around two moves away from jail as well as having cards like ADVANCE TO ILLINOIS AVENUE.
    (B)Yellow:Same price as red and in a nice spot on the board!
    (C)Pink:Two moves from GO, near jail as well!
    (D)Dark Blue: A super-pricey colorset with only two squares, high risk, high reward!
    (E)Brown: Completely irrelevant unless you stack houses/hotels, only two spots!
    (F)Green:This is statistically the worst colorset, houses are priced the same as Dark Blue, and there is also the GO TO JAIL square that can suck up traffic.

    Now this is all a general ranking depending on the game situation this ranking will obviously change, sometimes the Green colorset may win you the game, or the Orange will loose you the game, but in terms of math and probability these rankings are pretty accurate!

    So next time you’re playing MONOPOLY follow these general rankings to boost your odds at a victory, and leave the people you play with in shock!

  • 8/13-first day of school-(the school scoop part one)

    Welcome to PART ONE of the “School Scoop”(i just thought of a random name that sounded kinda cool), in this series of blogs I will mainly be writing about school, and tracking my journey through it, depending on how this goes I may continue this chain of blogs until the 12th grade, so, if you want , follow along every Wednesday, and starting from next Wednesday posts will come at 8am!

    A lot of things become less of a deal every year, for example your birthday, but more significantly the first day of school. There are usually two types of people: people who never want summer to end, and people who despise school, OR people who just want to get back to school. I have never really seen anyone in the middle, just two very drastic sides. I personally, have almost always been the second option, if you have seen a previous post of mine called “boredom”, around a month ago, you would know that I tend to get very bored in summer, so in terms of the first day of school, it is very binary either a high or a low.

    One thing about going back to school as a 7th grader, is that it feels just wrong. To be more precise it feels wrong to see 300 6th graders pop into middle school, looking so lost, knowing that was me just a year ago. When you are so used to being the lowest and youngest grade, the moment you step up it feels so different. 7th grade is also like the middle child affect, you don’t get the just-out-of elementary freedom as a 6th grader, but you also don’t get the feel to be off to high school next year, so I guess 7th grade is unique like that. Anyways see you in the next one, and as always, thanks for reading!

    ~aaroosh

  • 7/17/25-repeatable things

    Everyone has that one thing. The most basic, yet oddly fun stress reliever. Something that is so random, something that everyone else would question. Something that just passes time. For me this happens to be throwing a foam ball off walls. Yes, I know, throwing something off of something seems like the most boring thing in the world but it’s just fun for me. My dad listens to a lot of podcasts and sometimes when I listen to a bit of them, a huge theme in many is that repeatable things result in repeatable outcomes, like if something is working, why change it? For me I do this throwing thing almost any time I have nothing to do, it just fills up the boredom, or “nothingness” and is something so mindless I can think of something completely different while doing this. To illustrate to you how much I do this, let me give you the exact details. It’s summer break for me, and it can’t be everyday that you meet a friend, or have a class, meaning much of the day is doing assignments and courses, You obviously can’t do this all the time(at least if you want to keep your brain from frying), so I have adequate breaks. During these breaks I read or throw my ball around. The total time I throw around is probably around an hour a day if not more. The walls in my room literally have black marks in the shape of circles from how much I throw. It’s just so easy, so oddly satisfying, and I’m sure that you have something like this, or you just haven’t discovered it yet. So next time you are bored think about what is something basic that makes you happy. 🙂

    Question: Do you have one of these “repeatable things” if so what is it? Comment your answer down below!

    ~aaroosh