Subscribe now

BrainTwister #65: Prime magic squares

Can you solve this week’s logic puzzle? Plus our quick quiz and the answer to last week’s problem

By Peter Rowlett

19 March 2025

New Scientist. Science news and long reads from expert journalists, covering developments in science, technology, health and the environment on the website and the magazine.

Shutterstock/ktsdesign

#65 Prime magic squares

Set by Peter Rowlett

A magic square is an arrangement of numbers where all rows, columns and diagonals add up to the same number, called the magic constant. Can you complete this square by filling in the missing numbers?

This square was discovered in the early 20th century by Henry Dudeney as a magic square of prime numbers. Unfortunately, it contains 1. Modern mathematicians define prime numbers so that 1 isn’t prime, because it makes lots of results less awkward to state.

An alternative magic square of prime numbers uses 5, 17, 29, 47, 59, 71,…

Sign up to our weekly newsletter

Receive a weekly dose of discovery in your inbox! We'll also keep you up to date with New Scientist events and special offers.

Sign up

To continue reading, subscribe today with our introductory offers

Piano Exit Overlay Banner Mobile Piano Exit Overlay Banner Desktop