[seqfan] Q about magic squares as produced by Matlab
Neil Sloane
njasloane at gmail.com
Tue Oct 27 16:10:20 CET 2015
Dear Seqfans, Sequence A160523 is
a(n) is the determinant of the magic square of order n produced by Matlab.
1, -360, 0, 5070000, 0, -348052801600
Offset 1 (which must be wrong)
(Matlab) det(magic(n));
I just received an email from someone saying:
"det(magic(2)) = -10 and maybe a(2) should be added the sequence."
and giving the matrix
1 3
4 2
- which of course is not a magic square of order 2. There are no magic
squares of order 2. But maybe Matlab thinks there are.
There is clearly something wrong with A160253.
Could someone who has access to Matlab kindly check it?
Best regards
Neil
Neil J. A. Sloane, President, OEIS Foundation.
11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
Phone: 732 828 6098; home page: http://NeilSloane.com
Email: njasloane at gmail.com
More information about the SeqFan
mailing list