in reply to Re^2: magic squares
in thread magic squares

There is still a bug in your logic. There are over 70 magic squares with all of the letters J O H N and you didn't find most of them.

Update: I misread the format that ELISHEVA printed her results in. My bad.

Replies are listed 'Best First'.
Re^4: magic squares
by ELISHEVA (Prior) on Apr 05, 2009 at 18:02 UTC

    On purpose, but I reread the explanatory portion of my post and I can see how one might have thought otherwise. The algorithm isn't intended to find all of them. Finding one is all that is needed for the stated problem: which student doesn't have a magic square with their name written on it.

    Best, beth

      That's brilliant, thanks! My permutation checker is still running... :-(

      SSF