Image Alt Text

Rainbow Squares is a challenge inspired by Henri Picciotto. Each rainbow arc needs to be anchored at two integers that sum to a square. Here we have tried to find a solution for 1-10, but have failed because the last two numbers, 2 and 3, do not sum to a square. Is this possible?

Downloadable Rainbow Square puzzle-sheets here.

1-10 did not work. It was impossible. However, 1-26 does work. Complete the two puzzles on the left.  Spoiler alert: the next page will give the answers.

Solution to the previous slide.

Another pair of puzzles with the solution on the next page...

Solution to the previous slide.

Here I've failed with 1-60 because the remaining numbers, 21 and 22, do not add to a square. Even though there are over 4 million solutions to this it took me more than an hour to find one! Computers are reliably good at these kind of brute force searches. I choose not to tell students how good computers are because everyone wants to feel awesome when they solve something difficult - not be told that a computer found 4 million solutions in one second. It is a matter of our human pride 😉

Rainbow Squares

(Henri Picciotto, 2014)

This was co-winner of the 2016 George Pólya Award by the Mathematical Association of America. Download the original paper here.

Standards for Mathematical Practice

MathPickle puzzle and game designs engage a wide spectrum of student abilities while targeting the following Standards for Mathematical Practice:

MP1 Toughen up!

This is problem solving where our students develop grit and resiliency in the face of nasty, thorny problems. It is the most sought after skill for our students.

MP3 Work together!

This is collaborative problem solving in which students discuss their strategies to solve a problem and identify missteps in a failed solution. MathPickle recommends pairing up students for all its puzzles.

MP6 Be precise!

This is where our students learn to communicate using precise terminology. MathPickle encourages students not only to use the precise terms of others, but to invent and rigorously define their own terms.

MP7 Be observant!

One of the things that the human brain does very well is identify pattern. We sometimes do this too well and identify patterns that don't really exist.


Please use MathPickle in your classrooms. If you have improvements to make, please contact us. We'll give you credit 😉

Gordon Hamilton

(MMath, PhD)


Lora Saarnio