tso wrote:I do not believe you can create a valid puzzle or even determine more than 2 of the central cells with this mask:
- Code: Select all
x x x | x x x | x x x
x x x | . . . | x x x
x x x | . . . | x x x
------+-------+------
x . . | . . . | . . x
x . . | . . . | . . x
x . . | . . . | . . x
------+-------+------
x x x | . . . | x x x
x x x | . . . | x x x
x x x | x x x | x x x
I'm sure that an exhaustive search can be made to answer tso's question about the existence of a valid puzzle with this pattern.
Some experts like
Red Ed and
gsf know how to do it.
I don't.
Meanwhile, here are some results.
The minimum number of solutions is less than 80 :80 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
5 4 9 | . . . | 1 6 3
8 6 7 | . . . | 5 4 2
-------+-------+-------
9 . . | . . . | . . 1
4 . . | . . . | . . 6
3 . . | . . . | . . 5
-------+-------+-------
6 8 4 | . . . | 9 2 7
7 9 1 | . . . | 3 5 4
2 3 5 | 7 9 4 | 6 1 8
I give all the different possibilities that I found about the number
n of
calculated cells and their positions in the boxes
B.
n=0 ; 152 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
4 8 6 | . . . | 5 1 2
5 7 9 | . . . | 6 4 3
-------+-------+-------
8 . . | . . . | . . 5
9 . . | . . . | . . 6
3 . . | . . . | . . 4
-------+-------+-------
6 9 4 | . . . | 3 5 8
7 3 8 | . . . | 9 2 1
2 1 5 | 9 8 3 | 4 6 7
n=1 ; B5(r5c5=4) ; 581 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
6 8 7 | . . . | 4 5 2
5 4 9 | . . . | 6 1 3
-------+-------+-------
3 . . | . . . | . . 4
9 . . | . . . | . . 1
4 . . | . . . | . . 8
-------+-------+-------
8 9 4 | . . . | 2 3 5
2 1 6 | . . . | 8 4 7
7 3 5 | 2 8 4 | 1 9 6
n=2 ; B5(r4c5=4),B5(r6c6=5) diagonal ; 780 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
6 4 5 | . . . | 2 1 3
9 7 8 | . . . | 5 4 6
-------+-------+-------
5 . . | . . . | . . 1
4 . . | . . . | . . 5
8 . . | . . . | . . 4
-------+-------+-------
3 8 6 | . . . | 4 5 2
2 5 4 | . . . | 1 9 7
7 1 9 | 5 2 4 | 3 6 8
n=2 ; B5(r4c4=2),B5(r5c4=1) vertical ; RW ; 1200 solutions
- Code: Select all
6 8 4 | 7 1 2 | 5 3 9
9 1 7 | . . . | 4 2 8
3 5 2 | . . . | 1 7 6
-------+-------+-------
4 . . | . . . | . . 1
2 . . | . . . | . . 5
1 . . | . . . | . . 2
-------+-------+-------
5 9 1 | . . . | 2 6 4
7 2 6 | . . . | 8 1 3
8 4 3 | 6 2 1 | 9 5 7
n=2 ; B5(r5c5=4),B8(r8c6=4) ; 242 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
7 6 5 | . . . | 3 1 4
4 8 9 | . . . | 5 6 2
-------+-------+-------
3 . . | . . . | . . 1
9 . . | . . . | . . 6
5 . . | . . . | . . 3
-------+-------+-------
2 9 4 | . . . | 6 3 8
6 3 7 | . . . | 1 2 5
8 5 1 | 6 3 2 | 4 9 7
n=2 ; B4(r6c3=2),B6(r5c7=4) ; 332 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
5 6 8 | . . . | 2 4 1
9 7 4 | . . . | 5 6 3
-------+-------+-------
7 . . | . . . | . . 8
6 . . | . . . | . . 2
4 . . | . . . | . . 5
-------+-------+-------
8 4 9 | . . . | 3 5 6
2 5 6 | . . . | 9 1 7
3 1 7 | 9 6 5 | 8 2 4
n=3 ; B5(r4c5=1),B5(r5c6=2),B5(r6c4=3) ; RW ; 1872 solutions
- Code: Select all
9 5 4 | 1 2 3 | 7 8 6
7 2 1 | . . . | 3 9 4
8 3 6 | . . . | 2 1 5
-------+-------+-------
2 . . | . . . | . . 3
3 . . | . . . | . . 1
1 . . | . . . | . . 2
-------+-------+-------
5 1 3 | . . . | 4 2 9
6 8 2 | . . . | 1 3 7
4 7 9 | 2 3 1 | 6 5 8
n=3 ; B5(r4c5=4),B5(r5c5=6),B6(r5c8=4) ; 326 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
8 6 4 | . . . | 1 5 3
9 5 7 | . . . | 4 6 2
-------+-------+-------
6 . . | . . . | . . 7
3 . . | . . . | . . 5
4 . . | . . . | . . 6
-------+-------+-------
7 4 6 | . . . | 5 3 1
2 3 8 | . . . | 6 9 4
5 9 1 | 6 3 4 | 2 7 8
n=3 ; B2(r2c6=3),B4(r6c2=3),B5(r5c5=3) ; 242 solutions
- Code: Select all
1 2 3 | 4 5 6 | 7 8 9
9 5 8 | . . . | 6 1 4
6 4 7 | . . . | 3 2 5
-------+-------+-------
5 . . | . . . | . . 3
7 . . | . . . | . . 2
8 . . | . . . | . . 1
-------+-------+-------
2 6 9 | . . . | 4 3 7
3 7 5 | . . . | 1 9 8
4 8 1 | 3 9 7 | 2 5 6
JPF