What is the smallest valid pattern?

Everything about Sudoku that doesn't fit in one of the other sections

Re: What is the smallest valid pattern?

Postby JPF » Thu Apr 29, 2021 8:42 pm

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..3|...|...|
|..5|16.|.78|
+---+---+---+
|.3.|..6|.2.|
|.1.|.2.|9.4|
|2.8|5..|71.|
+---+---+---+

maybe it's time to do a more rational search!
... not yet...
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..2|15.|.67|
+---+---+---+
|.5.|..6|.8.|
|.9.|.2.|4..|
|2.7|9..|.35|
+---+---+---+

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..2|...|...|
|..1|..5|.67|
+---+---+---+
|.6.|.17|.3.|
|.5.|82.|4..|
|2.7|3.4|.86|
+---+---+---+

three last ones for the road:
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..5|..6|.78|
+---+---+---+
|.7.|.2.|.8.|
|.9.|5..|4..|
|3..|7.4|.9.|
+---+---+---+

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..2|..5|.67|
+---+---+---+
|.8.|.9.|.3.|
|.6.|.37|4.9|
|4.9|1.8|.75|
+---+---+---+

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..2|..5|.67|
+---+---+---+
|.8.|.5.|.7.|
|.3.|.27|.8.|
|2.9|8.6|43.|
+---+---+---+

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby JPF » Fri Apr 30, 2021 5:32 am

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..2|...|...|
|..4|...|...|
|..1|..5|.67|
+---+---+---+
|.8.|.7.|.3.|
|.3.|.98|.7.|
|1..|2..|4.5|
+---+---+---+

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby coloin » Fri Apr 30, 2021 9:49 am

Well ... that assumes that you can’t remove clues from band 2
Once we have that then gridchecker can remove clues from band 3 !!
This is not as small as yours though !!!!
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..3|...|...|
|..4|...|...|
|..5|61.|.7.|
+---+---+---+
|.6.|..5|..3|
|.1.|.37|8.4|
|2..|.8.|.19|
+---+---+---+
Last edited by coloin on Fri Apr 30, 2021 9:18 pm, edited 2 times in total.
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Re: What is the smallest valid pattern?

Postby JPF » Fri Apr 30, 2021 10:52 am

Sorry, I don't understand your(s) point(s).
Can you elaborate, please?

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby Hajime » Fri Apr 30, 2021 11:19 am

From the image above:
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..2|..5|.67|
+---+---+---+
|.8.|.5.|.7.|
|.3.|.27|.8.|
|2.9|8.6|43.|
+---+---+---+
this one is smaller. is it?
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..2|..5|.67|
|..4|...|...|
+---+---+---+
|.3.|.27|.8.|
|.8.|.5.|.7.|
|2.9|8.6|43.|
+---+---+---+
I just switched some rows.
User avatar
Hajime
 
Posts: 1375
Joined: 20 April 2018
Location: Fryslân

Re: What is the smallest valid pattern?

Postby JPF » Fri Apr 30, 2021 11:39 am

This thread is about the "smallest" pattern.
Here are the patterns for the two puzzles:
Code: Select all
........1........1.....1.....1........1........1..1.11.1..1..1..1..11.1.1.11.111.
........1........1.....1.....1........1..1.11..1.......1..11.1..1..1..1.1.11.111.

The pattern of the first one is smaller than the second one.

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby coloin » Fri Apr 30, 2021 4:42 pm

What I mean is that one has to get the minimum possible clues in band 2 before getting the minimum clues in band 3
We now have 4 clues in row 6 .
A clue in r6c3 is required - and it is highly likely that your r6 is now a minimum. Well found .
Now gridchecker can find all the ways to complete band 3

However essentially we are looking at the minimum ways to complete 2 bands ... which is similar to serg’s work on the crossing bands... and also of course the patterns without puzzles work ...
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Re: What is the smallest valid pattern?

Postby coloin » Fri Apr 30, 2021 9:16 pm

Using your pattern in the double band
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..4|...|...|
|..2|..5|.67|
+---+---+---+
|.3.|.6.|..8|
|.9.|.87|1..|
|2..|1..|4.5|
+---+---+---+

Must be close to the minimum now !!
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Re: What is the smallest valid pattern?

Postby JPF » Mon May 03, 2021 10:13 pm

after a long and painful exercice of numbers crunching:
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..4|...|...|
|..2|..5|.67|
+---+---+---+
|.8.|.5.|..6|
|.6.|.27|.3.|
|2.3|91.|47.|
+---+---+---+

and
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..4|...|...|
|..2|..5|.67|
+---+---+---+
|.7.|.5.|..6|
|.8.|.27|.3.|
|2.5|81.|4..|
+---+---+---+

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby coloin » Wed May 05, 2021 3:14 pm

Well done !! I think you did the hard work - as this one was quite close ...
Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..4|...|...|
|..2|..5|.67|
+---+---+---+
|.7.|.5.|..8|
|.9.|.26|.3.|
|2.5|.19|.76|
+---+---+---+

... and surely that is the minimum, unless r9c3 can be axed !
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Re: What is the smallest valid pattern?

Postby JPF » Wed May 05, 2021 4:10 pm

Unfortunately, with 2 empty columns (c4 and c7), your pattern is not minlex:

Code: Select all
+---+---+---+
|...|...|..x|
|...|...|..x|
|...|..x|...|
+---+---+---+
|..x|...|...|
|..x|...|...|
|..x|..x|.xx|
+---+---+---+
|.x.|.x.|..x|
|.x.|.xx|.x.|
|x.x|.xx|.xx|
+---+---+---+
its minlex:
Code: Select all
+---+---+---+
|...|...|...|
|...|...|xxx|
|..x|..x|.xx|
+---+---+---+
|...|...|...|
|...|..x|.xx|
|xx.|..x|x.x|
+---+---+---+
|...|...|..x|
|...|...|xx.|
|...|xxx|..x|
+---+---+---+

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby coloin » Wed May 05, 2021 4:30 pm

of course ... my mistake !!!

attacking the r9c5

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|...|...|
|..1|...|...|
|..2|..5|.67|
+---+---+---+
|.6.|.5.|..8|
|.3.|.29|.7.|
|2.8|6.7|43.|
+---+---+---+
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Re: What is the smallest valid pattern?

Postby JPF » Wed May 05, 2021 7:01 pm

Code: Select all
+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..1|...|...|
|..4|...|...|
|..2|..5|.67|
+---+---+---+
|.8.|.1.|..5|
|.6.|.54|.3.|
|1.3|8.9|4..|
+---+---+---+

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

Re: What is the smallest valid pattern?

Postby Hajime » Thu May 06, 2021 7:01 am

JPF wrote:Unfortunately, with 2 empty columns (c4 and c7), your pattern is not minlex:

Code: Select all
+---+---+---+
|...|...|..x|
|...|...|..x|
|...|..x|...|
+---+---+---+
|..x|...|...|
|..x|...|...|
|..x|..x|.xx|
+---+---+---+
|.x.|.x.|..x|
|.x.|.xx|.x.|
|x.x|.xx|.xx|
+---+---+---+
its minlex:
Code: Select all
+---+---+---+
|...|...|...|
|...|...|xxx|
|..x|..x|.xx|
+---+---+---+
|...|...|...|
|...|..x|.xx|
|xx.|..x|x.x|
+---+---+---+
|...|...|..x|
|...|...|xx.|
|...|xxx|..x|
+---+---+---+

JPF

The minlex pattern is far more smaller then the first. So why continue with the first pattern?
User avatar
Hajime
 
Posts: 1375
Joined: 20 April 2018
Location: Fryslân

Re: What is the smallest valid pattern?

Postby JPF » Thu May 06, 2021 9:33 am

Hi Hajime,
This thread is probably difficult to follow without reading all the posts since the beginning.
We agreed with coloin that the pattern I posted here is the smallest valid one:

Code: Select all
+---+---+---+   +---+---+---+
|...|...|...|   |...|...|...|
|...|...|..x|   |...|...|..1|
|...|..x|...|   |...|..2|...|
+---+---+---+   +---+---+---+
|..x|...|...|   |..3|...|...|
|..x|..x|..x|   |..1|..4|..5|
|..x|..x|.x.|   |..6|..7|.4.|
+---+---+---+   +---+---+---+
|.x.|.x.|..x|   |.4.|.1.|..3|
|.x.|.x.|.x.|   |.8.|.3.|.9.|
|.x.|.x.|.xx|   |.5.|.2.|.78|
+---+---+---+   +---+---+---+

.................1.....1.....1........1..1..1..1..1.1..1..1...1.1..1..1..1..1..11

As we are not totally certain that it's the smallest one, don't hesitate to post any improvement!

Since then, coloin proposed to explore MinLex patterns not starting with an empty row:
here:
coloin wrote:And having established the minimum pattern which necessarily must have 2 clues in the first band
If we are to define a pattern filter
One could find the minimum pattern which has a first band of the min lex pattern with these 3 clues, for example
Code: Select all
+---+---+---+
|...|...|..x|
|...|...|..x|
|...|..x|...|
+---+---+---+

+---+---+---+
|...|...|..1|
|...|...|..2|
|...|..3|...|
+---+---+---+
|..4|..5|.6.|
|..6|.7.|.8.|
|.7.|.1.|..9|
+---+---+---+
|.5.|...|6..|
|.2.|1.7|...|
|3..|49.|.2.|
+---+---+---+
....

and now, we are hunting the smallest minlex patterns having the fisrt band as above.

JPF
JPF
2017 Supporter
 
Posts: 6139
Joined: 06 December 2005
Location: Paris, France

PreviousNext

Return to General