Hajime wrote:m_b_metcalf wrote:the NC+ condition must hold for the diagonals of an X-sudoku.enxio27 wrote:He also introduced a Sudoku-X variation of the NC puzzle, which did NOT require that the diagonals be non-consecutive.
It is not possible to have adjacent cells AND diagonals to be non-consecutive. The middle cell r5c5 has 8 neighbors which should not have non-consecutive values, but at the same time the middle box needs all digits.
This is true only for N=3. I now present an XNC+sudokuNC+ for N=4. If someone could kindly verify it, I'll post one for N=5 (it involved a lot of tricky new code). I can also post a printable version if requested (it's humanly solvable).
Thanks,
Mike
[Edit: I have been able to remove 8 clues from the original post - I neglected to apply the X constraint during the final reduction step. Sorry.]
- Code: Select all
. . . . . . . . . . . . . . . .
. . . . . . . 8 11 . . . . . . .
. . . . 14 7 . 16 13 . 12 1 . . . .
11 1 . . . 2 4 9 16 7 15 . . . 12 14
. . 14 . . . 15 . . 13 . . . 6 . .
. . . . . . . 4 8 . . . . . . .
. . . . 10 . . . . . . 14 . . . .
. 7 5 . . 1 8 . . 9 11 . . 14 2 .
. 12 16 . . 3 6 . . 4 2 . . 10 13 .
. . . . 16 . . . . . . 12 . . . .
. . . . . . . 14 6 . . . . . . .
. . 11 . . . 7 . . 3 . . . 8 . .
9 4 . . . 8 3 7 2 14 16 . . . 1 13
. . . . 4 12 . 1 7 . 8 10 . . . . Forbidden pairs: 1-2,2-3,3-4,4-5,5-6,6-7,7-8,8-9, …, 16-1, also on the diagonals.
. . . . . . . 13 4 . . . . . . .
. . . . . . . . . . . . . . . . XNC+sudokuNC+; easy; 68 givens, symmetric, probably not minimal.
For tarek
- Code: Select all
................
.......8B.......
....E7.GD.C1....
B1...249G7F...CE
..E...F..D...6..
.......48.......
....A......E....
.75..18..9B..E2.
.CG..36..42..AD.
....G......C....
.......E6.......
..B...7..3...8..
94...8372EG...1D
....4C.17.8A....
.......D4.......
................