Posts Tagged with #cs

Twenty Numbers: The Game

5/30/2025

A rabbit-hole of an analysis into the win percentage of a simple game, from a friend from a Reddit post from a TikTok video. What started as a simple statistical problem snowballed into a fascinating delve into algorithms, combinatorics, and areas of math I had previously avoided. (This is the first of two posts on this game, where I just describe the problem.)

Read full post

Turn Left at the Next Prime

1/18/2021

What happens when we traverse the grid of Gaussian integers by turning left whenever we hit a Gaussian prime? This is a Julia implementation of a simulation originally in Python (but was too slow for interactive exploration) of an idea originally brought up on Stack Overflow. Lots of interesting images.

Read full post

From BogoSelectionSort to infinity and beyond!

11/20/2019

An analysis of a bad (but not that bad) sorting algorithm.

Read full post