I coded this up in Mathematica and got 39 fundemental semi-magic matrices. Good job, Charlie.
blackjack
flooble's webmaster puzzle