Inspired by Matt Parker’s “Parker Square” video, I decided to write my own magic square of squares bruit force program.

Obviously for a real bruit force, you wouldn’t bother drawing to screen for starters.

I’m looking for any tips though. I already think it’s probably a silly idea to use uniform distribution pseudo random numbers.

In this case it’s 1-999, but looking at existing squares, maybe, for example,

the number of digits in the roots should be a random number as well.

This video has a glitch that makes it hesitate for a short moment,

but if it finds a solution it will freeze.

ps. I don’t pretend to be a mathematician

Cheers, Art.