# Mathspp Blog

342 391,958 32,910
articles words lines of code
##### N queens problem

This article shows how to solve the N queens problem in 20 lines of code.

##### Problem #064 β infinite mathematicians with hats

How can an infinite number of mathematicians figure out their own hat colours?

##### Problem #063 β arbitrarily many primes in arbitrarily big intervals

Can you prove that there are arbitrarily many primes in arbitrarily big intervals?

##### Problem #062 β sliding coins

Can you align all of the coins on the right edge of the board?

##### Problem #061 β flower garden

Three mathematicians discuss a beautiful flower garden and the coloured flowers within.

##### Problem #060 β realtor commissions

Two realtors discuss who's netting the award for highest average commission, but it isn't clear who the winner is...

##### Problem #059 β marching pegs

How can you swap the coloured pegs if they can only march forward?

##### Solving Wordle with APL

Join me in solving the word game Wordle in (Dyalog) APL.

##### Look-and-say sequence

We discuss the look-and-say sequence, its behaviour, variations of it, and a Python implementation.

##### TIL #038 β look-and-say sequence growth

Today I learned that the length of the terms of the βlook-and-sayβ sequence has a well-defined growth rate.

##### Problem #055 β horse racing

25 horses racing, and you have to find out the fastest ones!

##### Problem #053 β weighing the odd one out

Can you find the fake ball by weighing it?

##### Solving Wordle with Python

In this article we try to crack Wordle, a variation of mastermind played with (English) words.

##### Problem #048 β trick or treat

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

##### Problem #047 β surgery gloves

How can two doctors operate two patients with only two pairs of latex gloves?!

##### Problem #045 β 1, 2, 3

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

##### Problem #044 β send more money

Can you solve this simple-looking arithmetic challenge?

##### Problem #043 β Rubik's cube scrambling

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

##### Problem #042 β mine captcha

Can you solve this little minesweeper puzzle?