What's the smallest army that can form into two square blocks 12 different ways?

A sultan wants an army that can be formed into two perfect squares — one large block and one small block standing together — in exactly twelve different ways, with every soldier used each time. What is the smallest possible size of that army?

Reveal the answer

160,225 men. The number factors as 5 × 5 × 13 × 17 × 29, and each of the primes 5, 13, 17 and 29 can be written as a sum of two squares; combining them this way yields exactly twelve distinct pairs of squares that sum to 160,225 — such as 400²+15² and 265²+300², among ten others. Four distinct such prime factors would normally give sixteen ways, but because the 5 is repeated, two of those sixteen collapse together, leaving exactly twelve.

— Henry Dudeney, Amusements in Mathematics — Thomas Nelson & Sons, 1917, Puzzle No. 136
Go deeper: get the book →

One credited idea per card. No filler. Swipe the rest in Savvy.

Keep swiping — it's free Works right in your browser. No app store needed.

More Puzzles

All Puzzles cards →
More from Henry Dudeney →

Five ideas worth knowing, every week

The week's best cards and a puzzle, credited as always. Free, unsubscribe any time.