Just a guess. Perhaps you could use the other monk's blanked out solution to create an initial grid. Then, recreate this solution in the other grids, but transform it in some simple way in order to make sure it doesn't break the rules. My shot - just a first guess - is below, hidden:

Hmm. Let's try a 2 x 2 version. The initial grid is

12 34

obviously. Now you need to fill in

12-- 34-- ---- ----

Clearly, as you move across, you need to shift rows:

1234 3412 ---- ----

And as you move down, you need to shift columns:

1234 3412 21-- 43--

note that the lower left grid is just the upper left grid with columns shifted along. Finally,

1234 3412 2143 4321

it turns out that the column shift from the grid above, and the row shift from the grid to the left, give identical results.

Perhaps this will work with N>2. Or not. Enjoy.
A massive flamewar beneath your chosen depth has not been shown here

In reply to Re: Better algorithm for Number Place Puzzle by dash2
in thread Better algorithm for Number Place Puzzle by davidj

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.