Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

need puzzles with 2-10 Solutions

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Puzzles
View previous topic :: View next topic  
Author Message
VIDEN

Joined: 02 Oct 2006
Posts: 55
:
Location: Germany

Items
PostPosted: Mon Nov 13, 2006 7:53 am    Post subject: need puzzles with 2-10 Solutions Reply with quote

Hey, I need a bit of your help again. I extended my solver so that it counts the possible number of solutions.
But I couldn't test this funktion fully because I had no puzzles to test where I new the exact number of solutions. So do you maby have a few puzzles with like 2-10 solutions so I can see if it works right?

There only was one with 2 possible solutions on Ruuds testpage. but I'd like to have a few more to be sure ererything is working.

Thx David
Back to top
View user's profile Send private message
daj95376

Joined: 05 Feb 2006
Posts: 349
:

Items
PostPosted: Mon Nov 13, 2006 8:44 am    Post subject: Reply with quote

David, Here's a puzzle from JPF that was posted in the Sudoku Players' Forum. It has one solution. If you remove the <8> from [r5c5], you'll get a puzzle with 393 solutions. That should be a fair test for your solver.

Code:
 3 . . . . . . . 7
 . . . . 9 . . . .
 . . 1 4 . 7 2 . .
 . . 7 . . . 5 . .
 . 4 . . 8 . . 9 .
 . . 2 . . . 6 . .
 . . 4 2 . 6 3 . .
 . . . . 3 . . . .
 1 . . . . . . . 5
Back to top
View user's profile Send private message
Ruud
Site Admin
Joined: 17 Sep 2005
Posts: 708
:
Location: Netherlands

Items
PostPosted: Mon Nov 13, 2006 10:45 am    Post subject: Reply with quote

My generator can produce puzzles with any required number of solutions. Very Happy

2 solutions.
Code:
.39...12....9.7...8..4.1..6.42...79...........91...54.5..1.9..3...8.5....14...87.
..2.8...6...9.6.85.....7.2.1...78...7.4...2..6...94........2.6....3.5.42..5.6...8
....6351.....514.......82........6..58.....31976......3156....86...3........2.3.5
....14.8.74.63.2.1.852....4...........2.5.7.....3.71...6..............3651.......
9.2...1.5...6.2.......9......3...6..2.......478..4..19..8...9....53.42..62..8..37
....394.....28....5.1..48..2.3....6.81.....97.4....5.3..73..9.1....15.....584....
..193..64.6..7.8..3.9..8...8........93..4..2...2...5.1.7...2...2...1..9.1....3...
4..692..18..1.5..6...................769.382...82169...........61..7..54..4...3..
..1....4.2...8.5.9...2.6.8.4..8..6..32.....5......93...4......61.7.6.....6..52.3.
.183.926...9...7....7...5...........73..5..41....6....17.....98....1....9..5.6..2
63.821...128..9.............5...3.9287......5........6.......7.3...42.19.9..1..23
..42.91..63..1..87.........4.......2.53...97.9.......3.........12..5..98..86.34..
9..6.8...6..24.8........7.4..4...6.8.68..1..3..3...5.1......2.62..35.4..4..7.6...
18...279.......4..527.....6...1.4...6..7........6.8...498.....5......9..31...968.
.61.7.2..2...8.47.7....45.9....16...31.4.5.....439....859.......4.........2.....7
.......9.791....2....985.4...4.9.2....71.68....2.7.9...6.459....5....319.7.......
.1..5....5....9.2.6.937.....8....2.31.....4...6....5.77.629....4....1.8..3..4....
..4...65.....57..46.......9....46.2..8.5.2.6..5.91....1.......75..43.....28...5..
.......1.3.4........59....3.98..14..........57...48.6...6.93.5...1...7.....2.6.3.
..24..1858.4..9.6....82....3...........572...........7....16....6.9..7.3493..76..

3 solutions.
Code:
..3.....6...98..2.9426..7..45...6............1.9.5.47.....25.4.6...785...........
.2.839..5.674........6..2...1.9....8........7...3.24913......1.4....6.72.71......
...469.5....5.......................4.839..6...5..47.89.......6.42.581....3..2.7.
3..7.5...7.1..36....8.4..2...95...12...4..9..6...29..48....239............73...45
.....69...6189..3.8...3..5.1......4..26...59..7......3.1..4...9.4..7162...86.....
.......6918.......3...592......27........5..3...6..85.541....8.9.......6.63..4..7
4..6.7..36.81.97.4...........9...3...2..9..6...6...2...........7.34.85.99..5.2..8
.3.....1.6...1...9..49.78...9..8..5.3..7.6..4.7..4..8...36.15..1...5...8.6.....3.
51.984.6....5.....9...31....8......9......4.5.4......64...62......3.....12.897.3.
.2.3....4.61...298.......5...9627...............8356...5.......712...94.9....6.2.
4.1....63.2..74......2...........841.6..3..9.714...........2......71..2.93....1.5
..439.....3.4.8..6..75.....7......8.9...5...2.5......3.....69..1..8.5.2.....736..
.6...39.85..9..23........74.1..2...3...3.6...2...5..8.74........25..8..79.85...6.
8.6.9.42....3..8....4..2..1.8......2..2..7.4..6......7..5..4..8...9..2..7.8.2.95.
...4.8....6.....4...7...1..6.......897.3.2.6443.....29.149.368..........72.....53
4...27..9.17.4.....9.....7......1...16....8..2..6..941....165.8..1..4.3.9....21..
1.......8.97.8.25..54...91.....6.....3.9.5.2.....1.....63...57..18.5.64.9.......3
.......2...84.23...5...87.1.4..75.93...1.32...3582.....74.6....8..2.......65.....
.15.9...3...........37..184.5.3...4..214......6.5...9...91..425..........47.5...9
7352.......43......6....2..57.4.......3...........1.47..9.3..122....84.9.4...7..6

4 solutions.
Code:
....9....6..4.7..8.4.812.3.7.......5..4...9..5..371..4.5..6..4.2.17.85.9.........
..4....3.6.24....87..1....9...2.15.3.4...3......6.89.74..8....63.15....4..8....2.
.12..358.8...2976.7..5.......4..6.1..9.......62.1....797....3..58.3..........1..6
....49..1..6...5.48..5........7...69..76..1..2.....37......6....9.8.1.........215
.24.5.......7.3..4....6...9.6.8.1.7.2.9...8.3.8.3.2.4.9...1....1..5.6.......3.56.
...1.....2...8.79.58..9.........4..6439.5..............5.....81.4..6..53..2.4.9..
.1.7...636........97...64........982.3.8.4.7.128........62...47........984...9.2.
.2..4.9613........4.98....2.47.......6.9.5.4.......57.1....76.5........3934.5..1.
.7..6..1.2..9.8..3.....59...5....72.7.......5.42....3...45.....3..2.1..7.1..8..6.
....4.86...85.2..1.1..7...3.5.....9.6.4...7.5.8.....2.8...3..1.3..6.15...67.8....
.5...6..8...7...527.23.4.....6.1...7.......9...4.7...55.91.2......9...13.4...8..9
.8.7....9239.......7.....126....14.........95...4...86...2.......5.16...1.8.35...
3..9.5..7.8.....2....4.1.....21.95...49...37...56.78.....5.2....6.....8.2..8.6..4
..6.....4312..67....47...............6....2....39.4..6..18.9..325..1...7....5..8.
..9...3...65.7.21..1.....6.2..3.9..1...8.1...1..7.4..3.5.....4..34.1.59...1...6..
38..6..4.76....1......2...6...781..2...3....8...592..4....1...762....9..19..7..3.
...1..6.3....259.........517..96..3..1.7.3.8..3..81..665.........164....9.7..8...
5..8...3.89...4...3...2...6....73.85....4..7.....62.136...5...227...6...9..2...6.
...3...879.7.....3....7.25.4..7.58.....4...3.8..1.36......3.72.7.1.....9...2...15
.29......3..26....1..9......7..2.......4.3.7.....8.41..4......68.6..1..5.9....73.

5 solutions.
Code:
......27..7....5.41.2..8....91.43..28...6.....47.21..97.4..9....1....9.6......34.
.24.65..95..2...861..9......93.2....8..7...5.6......1........32.6..547..93....5..
..3.9.5..2..58.4.1......73....7.....3.......2418..2............6..95...4.59...8..
4.9.....7.1.9..4..3.5..26.9.5.............2.8..2..894..84.763.......5...5.6.2....
27....4.8...3....5.4.7.6........19..3.2..4.6......78...2.1.9......2....996....1.2
..3...6..2.5...8.44..8.9..71...4...9.9.....8.6...1...28..7.3..53.9...7.6..1...3..
17....259....9...6..65....3...6.....842....1.9....73...5..1.8....8.5...1...74...5
.........4..5.6..7..5.3.4...6.....5...3...7..25.....415.83.12.6..48.91.....2.5...
..1...3.....375.6.8......27.8.523..6.1.6......2.8.....2.....4.3.59........72..1.8
...325......1..6......69..558..9....4.68....11.9..74...5...6.9.......1.2..1.8..3.
..2...8..16.....35..95.24...2..6..7.71..2..93..5...1...8.....4..47...35....3.7...
69..1..48...........27.81...5.....2...12.54...7.....3...73.95...........82..5..96
5..3..4...1..59....27..8..3.....685....49..3..5..3...1.43...7....51..38.........4
8.6.......17.6.9...........4.....821.8.....74..1.453.......6..2...5.8.3.62.13....
.7....6..36.1........3.........729.11549.38.7............5...96.3.......71..4...8
..537.4.8..1..932..9........6.4..7..3.........7.5..8...3.........8..751...623.9.4
4.5...6.3.7.....9.8.9...2.1...892......7.5......346...6.4...9.5.3.....6.2.8...7.4
.......8......54.7.849.1.6.51...782...34.........8.3..4...5.2...2...89....1..4...
8.7.24....1.3.94..4....78.........53.......1........862....53...3.8.16..9.5.63...
6..9.........2.9.8...715...9.6.81....486....9..24..3...2...7..5.......1..6..9.8.4

6 solutions.
Code:
4..9..5...........2..3...8.7........9.27.56...54..6..23.......6.7.5.843.....6..98
.1...79..3.64......2..9.8...6.8..24...9...3..2.....69.6.39245.8...3.8.........4..
...8.542...5.7...3....1...5...39...2....6219.9....7..845.....1...6........29.....
9....7..2..3..5.9..879..4....82...49.........72...93....1..692..5.4..6..6..1....3
...1.6........4.622.9.....3..7..2.4.9..54......8..3.2.5.1.....4.....5.81...6.7...
....2..614.3.9.....6..3....81...9..3..9....8.54...3..2.7..8....2.6.7........4..15
.68.........64..254...78.1...7.....3.3....4....4.....81...39.5....25..87.86......
...95..7.49......8....4..5..6...1...81.5..2..7......8618..2..6.9....34...........
..........8.6.3.7.51..4..63.........3..9.6..1691.7.84542..9..18..9...6...........
..5.1.2.....2.4....62...95.5.3...4.6.1.....7.2.4...1.3.39...61....8.3.....8.4.5..
.348.......92..4.3.5.....19...7.9.28.........32.5.4...27.....9.6.5..82.......536.
......17.14...6.......2..436....4.3.53.....96.1.6....576..9.......4...57.92......
86...2...4..71..5......648.5..3.92...........6..1.48.......361.3..89..2.94...5...
..9..2...6...182..217....6.56...7.847......1...3.........3..8.9.....16......4652.
.9...52.44.7......2.3.9.8.......2.18...5.6........1.571.5.2.3..3.9.......8...37.1
.2.....8...8.9.1..5.......72..7.4..3.8.....6....2.1....5.9.7.2.49..3..78.1.....3.
..28.......92.....51..76.4.63.........7.9.3....4...75.....61.73..6..35.4......19.
9..........2.7....4...6391.3.57...9...81...57....8...2..9534..85...9.............
32795....4...73...8........5....1.7.14.....26.7.8....1........2...24...9....86135
....8.56....5.......6..48.7.1...349.3...4...2.729...3.5.34..6.......2....84.6....

7 solutions.
Code:
1.54.96.3..6...2..2.......5.28...94...........1..5..7.....8......42.18.....596...
....81..51...............4.3.4.6.17...9..2..65..8.......2.34......1.5.97.......5.
.6....7..2..7.....1.389....3.4.6...5.1..4...39.2.8...18.963....7..1......2....6..
.794.362.8...1...3...7.9....3.....9.2.......6.9.....5....3.2...9...7...1.629.184.
.2...35.....125......6.9..7....3.172.9...1.8..1....46.231........571...8..9......
...4.1.....8.3249..2..76...8.........91....7.367..5..2.7......8.8..6...1.....8734
....9.41....85..........2.6.1..49.2.56.32.......6..85.3.2..457.1..7.59....7......
..........4.9.7.8.1.2...7.3.5.1.3.2....8.9....816.253..........5.84.19.6..6...4..
8.9.2..4...4..3..16.....8..3.1....9..8..1...35.2.......6.7.2.34..3.5.......3.81.2
1..3...5..974..3..3..6..98...3..9........3..5..1..4...5..1..69..695..1..8..9...2.
.95.7..3.3....29..61...3.......895....62.........467..15...4...2....81...78.1..6.
.......4...64.7.85.7...93...8...451...........596...7...89...6.23.7.64...9.......
8..2....6.6.49..3...1..84....7....48.8.....2.29....6....98..7...2..46.5.6....3..4
..94.25...4.1.3.2.6.......335.....92.........27.....318.......4.9.8.6.1...35.17..
..7..2..5....576...2.....3....83...2.7.....9.6...45....3.....7...149....5..2..9..
5.63.94.13.17.62.5..........38...64...9.6.8....5...3..9..471..8...........2...9..
.412.758............54931.....7.9...1.......643.....58..49587............8.1.2.6.
.7....56.312...8...5...7.......64.3.4.39..6......78.1..4...3...827...3...3....45.
.38..2.........8....6..542.4.1...7.5...3......9.41.........62.86..9....7.4...3...
.25...6.......2....7.8.3..2...62173......8...9....72..46......8..8...3.6..19.....

8 solutions.
Code:
1.2.......8.....41.36417..53..........12.43..........44..68192.26.....1.......5.8
3.......1..64.13..7...6...98.7...2.5...5.3...9.2...6.46...9...8..97.45..2.......3
7.......6..62.31...946.158...........3.5.9.1...........671.834...87.59..3.......8
......6.....678.5...15....9.538...7..7.....6..2...781.2....34...1.745.....4......
..15...3...76.1..5....9.......47..8..7...62..3.9..2.64..51...4629..6.....8.9.....
31.....94.58...76....4.6...6.......31..9.3..7..5...9...8.....4...35.46..2.......5
.....28.7...3.79..9..8....6..943.2...87....95................3..1.........2.596..
2....8..9.......3.836......3..5.749...7...5...259.4..8......781.5.......7..8....6
.6.3.9.8...27.89..8...2...7.7.....1...1...3...5.....7.3...9...1..48.17...1.4.7.5.
.2.....7...67.32...3.5.2.8..........8.7...9.3...648....94...12.....3....58.....34
..8...2....61.....2....8.91..3792.4....5.4....2.8167..48.2....7.....78....5...3..
.....8....8...3..7327..5..9..9..6.346......5...8..7.92256..9..8.4...2..3.....1...
6............62.843.257.....1.....5...67359...3.....6.....568.924.38............2
4...928....9.782...5.1....9....4...........863................1....263..23...96.4
2..5637..65.............9.....31..9.5.8.2.1.7.4..56.....7.............74..2837..9
4..13.....13.............6.2....19....9462..8.7.........49.3..2....2..5.8.5.....7
4.76.......13...8...3..7..17..896.3.8..........9..5.4.692...1.........981.....25.
8.5...7..2...9..1..6..4.9...8.4.1........2.5..4.6.7....7..2.8..3...6..9.4.9...1..
749...........4..6..2..18.74.....289.1.......2.....714..7..54.3.....2..1165......
87..3..52..56714...........6...2...49.......34...5...1...........18452..58..6..49

9 solutions.
Code:
.9231....3...6..7.8.....3.99........26....89.......6.3..1.98....3..4..1...6..2...
9.......7.17...68...34.52..4..693..2..........2.....4...........3.8.9.1...6.1.5..
...........5..6.8..1.8..794..14.9.58....38.7..6.51..3...2.......49725.....69.....
...4.6.....9.8.1...4.1.5.9.4.2...9.7.7.....1.8.5...3.4.8.9.3.2...1.4.7.....5.7...
.3..4..5....1.3...2...9...191.....768..7.2..565.....835...7...4...9.1....9..5..1.
3..27.................6957.7....29..2.9....58..14..23...79.1..5..2.38.4.....5.7..
..3...86...9..1.24..7..6..3.....317...4.5....1.5.........34.69739........7.2.....
82.37......4....9.....89....81..65.........46.47..19......25.....8....3.95.64....
..2...9...1.239.6..7.846.3.....1....6.4...8.2..........53...74.146...325.........
....8.3..1...248..9.8...7.1....46.5....95........12.8.6.2...1.87...984......6.5..
98.....37.........71.....89.79.8.24...5...6..3.......5...617............59.3.8.26
..71.68...9.....2.3..9.7..58.5...2.1.........4.3...9.79..2.8..3.7.....9...27.15..
7.23.91.6...........9.7.5..5...6...12..1.5..98...3...2..7.1.6...........9.16.28.3
....3....7.......2285...963..89.54...1.....7...73.18..359...2188.......4....1....
..48.652.....9..........849..8....324.163.......58...46..159....3........12......
.....5.6...516.8..7....82.4........729.....3.18..4...........72.....34.....78.5..
.82...93.7...4...5..58.67.....4.7.....95.12..6...9...3..81.26............1.....5.
...8..7....2..58..86.3...5..7..6.9.5...2.1...4.6.5..2..4...2.86..71..5....1..3...
...8.4..9.....7615..9.....75.............536.82..96.5..1..4.....6..19...243......
.3.4.9....91.......6....8.19...6.5...7..43..84...5.1...5....2.7.19.......4.3.8...

10 solutions.
Code:
59.....486.8...3.7...2.1.......4.....753.698.....9.......8.3...2.6...7.934.....65
..43.81...........98..1..421..6.3..7.6.742.1...7...8....38.49...5.....8..........
1.......2.9.4.7.8...5.2.3..4...5...381.3.2.54..9...6....................75.8.3.49
...9.6...13.....82.97...46...2...8...6..3..5.....5........9....4.9...7.5.2.8.5.4.
2.6.9.54..53.4...87.4.....3.1.936........1.96...5.7.........629.....8.3.......4.5
.876...2.............43597.......3962.......4491.......25714.............4...375.
.8..5.........1...3.47.....7........43....6.26....83.5..9.3.417........35..48.2..
..36.....25.....791.94..........5.16.........68.2..........91.734.....95.....82..
6..18.................62518163..............2.745..........5.63...79....891......
.9...1........3.487....8....7........4....915..854......93....2......6..1..67.53.
2..1....5..5..8.3..895....653.....9.........469.....8..724....8..1..7.6.8..2....9
6..3...7.943........5.1....1..74..36.2....4..3..86..21..1.8....439......8..4...9.
9..6.5..4.5.7.3.6...3.8.7...9.....7............15763...1.....2..374.251..6.....4.
795....2.8..2....33...65....3....7....7.4.8....8....1....51...72....3..8.7....154
2.1..9..3.867...4.....48...........74.79.38.51...........86.....6...743.8..3..2.6
......4134..3......65.......1......7..85...6....71............2732.4....6..9....8
.....7645..24....9.4......1.8.2.9..4....3....5..6.8.1.2......6.4....27..6571.....
96.....57..4...2.....7.5.....6.7.9..3..4.2..5..7.9.1.....3.7.....3...4..47.....16
...........37.54..9.......254.3.2.69..2...8..63.9.8.417.......6..64.79...........
8...25....5..3.7....9...5.8..4....16..2........1....52..5...3.9.2..4.6..6...58...


Glad that I finally found a good use for this feature...

Ruud
_________________
Meet me at sudocue.net
Back to top
View user's profile Send private message Visit poster's website
Pat

Joined: 06 Sep 2006
Posts: 128
:

Items
PostPosted: Mon Nov 13, 2006 1:31 pm    Post subject: re: multiple answers Reply with quote

VIDEN, i saw your question in the other Topic and responded there, not realizing you had re-posted here---
Back to top
View user's profile Send private message Visit poster's website
VIDEN

Joined: 02 Oct 2006
Posts: 55
:
Location: Germany

Items
PostPosted: Mon Nov 13, 2006 3:15 pm    Post subject: Reply with quote

Thx four your quick help!
I did have some bugs in it but it seems to work right now Smile

Greets David
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Puzzles All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron