Dang it you are right! Mental mush today. My mind was stuck on fill-in-the-blank-ness and oneness inside the blocks (the 3x3 sub-blocks of a sudoku puzzle are magic squares) and I forgot about the repetition.

Magic squares are N items used only once within a single block as opposed to a 3x3 grid of blocks. To turn this into a sudoku one would need to do a bit more ... have to make dinner now, so I hope readers will be patient while I decide whether to amend the title and original post or amend the software to generate a true sudoku puzzles.

However, couldn't you create a 9x9 sudoku puzzle from a set of magic squares by properly rotating and transposing a magic square?

Best, beth

Update:Re-added line so that JavaFan's comment makes more sense. I realized was wrong and deleted the question while JavaFan was preparing his post below, not realizing that he was already preparing a response - Whoops! To further his point, since all magic squares have the same middle, the diagonal as well as any (3*N+1)%3 (where N=0..2) row or column of a 9x9 matrix would have the middle of the magic square three times.


In reply to Re^2: Sudoku for Saints by ELISHEVA
in thread Sudoku for Saints by ELISHEVA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.