Mathspp Blog

A blog dedicated to mathematics and programming!

As of now, my blog is being migrated here. You can find all the old content over here.

  61

\(n\) mathematicians with numbered party hats gather around in a circle... It is a matter of life or death!

Let's build a simple APL interpreter! APL is an array-oriented programming language I picked up recently. The ease with which I can write code related to mathematics, its strange built-ins (which look like , or ) and the fact that it is executed from right to left make it a fresh learning experience!

Py-don'ts are anti-tips for writing good Python code. Sometimes learning what is good isn't enough. You have to compare it with what is bad as well!

  39

In high school I had a colleague that had his birthday on the same day as I did. What a coincidence, right? Right..?

  35

Is it true that every integer you can think of has a multiple written out only with \(0\)s and \(1\)s?

  26

This post's format will be a bit different from the usual and the first of a series of posts of this type. In this post, I will state a problem and then present my solution.

In this post I just ramble a bit through some mathematician's definition of what a recursive function is...

  18

The filled Julia set is a really cool fractal that kind of resembles the Mandelbrot set!

Run on Repl.it

This blog post tells the short story of how I wrote a simple interpreter for a toy programming language!

  19

Minesweeper has to be one of the most well-known minigames of all time, no? I spent my fair share of Sunday mornings playing minesweeper in my Windows XP computer...

  18

This blog post has a single purpose, which is to show you the weird game I made, inspired by Flappy Bird and my crazy English teacher.

  38

I have always liked the concept of fractal. They are very beautiful, they have a notion of infinity embedded in them, and they make no sense (seriously though, self-similarity?). How could they not be loved?