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.

The 2020 APL programming competition was tough! In this post I share a couple of thoughts and my solutions.

  260

The 24 Game is a well-known maths game that is played with kids in school to help them master the four basic arithmetic operations. In this blog post we will study the game in depth.

Today is the day! Today is the day we take our APL programs and interpret them, so that something like ÷ 1 2 3 -⍨ 1.1 2.2 3.3 can output 10 5 3.33333333.

  394

\(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!