Prime Magic Squares - MATLAB Cody - MATLAB Central

Problem 49884. Prime Magic Squares

Difficulty:Rate
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

24.39% Correct | 75.61% Incorrect
Last Solution submitted on Apr 06, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers10

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!
Go to top of page