Would symbolism like ...
S(C) ... meaning 'S' solutions as a function of 'C' clues, and
C(S) ... meaning 'C' clues as a function of 'S' solutions
... make too much sense?
kjellfp wrote:More interresting challenge: What is the smallest number N such that no grid has exactly N solutions?
JPF wrote:We should be a bit more precise on the definition of F.
If not :
F(N)=0 for N>0.
The puzzles must have at least 1 solution.
Since 3x3 is practically impossible, here's 2x2. Yes I know this is trivial, but it might help someone's intuition.Moschopulus wrote:All these functions M, F, H, are impossible to find, I think.
Nr solns Nr Clues
-------- -------------------------------------------------
1 soln: 4 5 6 7 8 9 10 11 12 13 14 15 16
2 solns: 4 5 6 7 8 9 10 11 12
3 solns: 3 4 5 6 7 8 9
4 solns: 4 5 6 7 8
5 solns: 4 5 6
6 solns: 3 4 5 6
7 solns: 4
8 solns: 4
9 solns: 3
10 solns: 4
12 solns: 2 3 4
18 solns: 2 3 4
24 solns: 2
36 solns: 2
72 solns: 1
288 solns: 0
r.e.s. wrote:On the other hand, might there be values of N (less than the total number of sudoku solutions) for which
no sudoku puzzle has exactly N solutions? (If there are such values of N, I wonder what's the smallest one.)
kjellfp wrote:More interresting challenge: What is the smallest number N such that no grid has exactly N solutions?
JPF wrote:Monotonicity
1)The function Max().
It' s clear that Max() is not a monotonic function for all n=0,...,p^4.
For p=3 : Max(75)=2 ; Max(76)=1 ; Max(77)=2.
but it's seem to be true for p =2 ...
In addition, maybe a coincidence,
For p =2 or p=3 :
Max(p^4-4)=2
Max(p^4-k)=1 ; k=0,1,2,3
JPF
77 clues. 2 solutions.
*-----------*
|627|004|815|
|951|728|364|
|348|516|972|
|---+---+---|
|564|873|129|
|179|642|583|
|832|159|647|
|---+---+---|
|286|007|451|
|713|465|298|
|495|281|736|
*-----------*
76 clues. 2 solutions.
*-----------*
|627|000|815|
|951|728|364|
|348|516|972|
|---+---+---|
|564|873|129|
|179|642|583|
|832|159|647|
|---+---+---|
|286|007|451|
|713|465|298|
|495|281|736|
*-----------*
Ocean wrote:Just to comment on a sligth misunderstanding.
The funcion Max(x) is a monotonic function, as is easy to prove.
The example below shows that Max(76)=2. (Unavoidable sets of size 5 exist - but they are not 'minimal').
JPF wrote:Is it easy to prove that Max(x) is decreasing ?
JPF
Ocean wrote:PS.
The reason for my first comment was that the 'false' statement about H(76) lead to the conclusion that 'Max()' was not monotonic - which could not be true. (Hope you excuse me if I'm totally wrong here -). The rest of your post was just perfect! (as far as I can judge) - a valuable contribution.
It's more -- I would guess far more -- than 125000.kjellfp wrote:More interresting challenge: What is the smallest number N such that no grid has exactly N solutions?
kjellfp wrote:Something we at least know and not only believe...
M(6670903752021072936960)=0
M(741211528002341437440)=1
M(92651441000292679680)=2 (r1c1=1 r1c2=2)
M(82356836444704604160)=2 (r1c1=r4c4=1)
M(123535254667056906240)=2 (r1c1=r2c4=1)
M(77209534166910566400)=2 (r1c1=1 r2c4=2)
and that's all M(*)=2. I leave M(*)=3 and upwards for others.
For N2c (r1c1 = 1, r2c4 = 1): pick a solution grid at random. It has r1c1=1 with probability 1/9. Conditional on that, the '1' in r2 is in c4 with probability 1/6 (it can be in any of c4-c9 with equal chance). So N2c = N0*1/9*1/6 = 123535254667056906240.JPF wrote:Could somebody help me to understand how N2c (or N2d) is calculated ?