A magic square is loosely defined as a square divided into smaller squares each containing a number, such that the numbers in each columns, in each rows, and in the diagonal add up to the same value. For this problem, the numbers which will be filling the squares are primes. There is no unique answer to the problem; therefore, your answers will be tested against the requirement.

Solution Stats

43 Solutions

11 Solvers

Last Solution submitted on Nov 06, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers11

Suggested Problems

More from this Author180

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!