Mathspp Blog

342 391,958 32,910
articles words lines of code

This is a short article on how I quickly used APL to verify my combinatorics calculations.

Can you make the pyramid point the other way by moving only three coins?

Can you help these kids trick or treat their entire neighbourhood in this Halloween special?

Today I learned that Python 3.5+ supports the operator @ for matrix multiplication.

Can you draw 4 triangles in this 5 by 5 grid, covering all dots?

Today I learned about the math.nextafter method.

Figure out the number I'm thinking of with a single question!

Today I learned how to do ceiling division in Python just with //.

Can you solve this simple-looking arithmetic challenge?

If I scramble a Rubik's cube for long enough, will it solve itself?

Can you solve this little minesweeper puzzle?

It's night time and 4 friends need to cross a fragile bridge, but they only have one torch. What's the order in which they should cross?

Three friends are given three different numbers that add up to a dozen. Can you figure out everyone's numbers?

You have two magical ropes that you can set on fire and you need to count 45 minutes. How do you do it?

You are on vacation and must find the most efficient way to cross all bridges. How will you do that?

This article will twist and bend your mind a little bit, as we go over some interesting self-referential concepts and objects.

Alice and Bob sit across each other, ready for their game of coins. Who will emerge victorious?

Can you find a really large triangle that is also really tiny?

This is an algorithmic puzzle where you just have to turn some coins.

In the fifth article of this short series we will be handling some subtleties that we overlooked in our experiment to classify handwritten digits from the MNIST dataset.