Double swordfish?

Advanced methods and approaches for solving Sudoku puzzles

Double swordfish?

Postby jsmarba » Thu Jan 12, 2006 5:10 am

I have a puzzle that has 2 swordfish with the same candidate at the same time. All my previous moves have been verified by "Simple Sudoku"
which shows one as correct and solves the puzzle. The other swordfish is false and breaks the puzzle. This is not the first time I have had a "false" swordfish. Can anyone explain or help?
jsmarba
 
Posts: 5
Joined: 11 January 2006

Postby Jeff » Thu Jan 12, 2006 5:52 am

Please post the grid at the point where the 2 swordfish were encountered.
Jeff
 
Posts: 708
Joined: 01 August 2005

Double swordfish

Postby jsmarba » Thu Jan 12, 2006 6:20 am

The grid involved all of that candidate left on the board at that time.

The false SF
R1-C235 R3-C358 R4-C238

The true SF
R2-C17 R5-C137 R9-C13
jsmarba
 
Posts: 5
Joined: 11 January 2006

Postby Shazbot » Thu Jan 12, 2006 6:54 am

The first one isn't a swordfish. It may have 3 columns involved, but 4 rows. A swordfish involves 3 columns and 3 rows only.
Shazbot
 
Posts: 220
Joined: 24 September 2005

Postby jsmarba » Thu Jan 12, 2006 8:00 pm

Thanks for the clarification, much appreciated
jsmarba
 
Posts: 5
Joined: 11 January 2006

Postby sweetbix » Thu Jan 12, 2006 8:24 pm

Shazbot wrote:The first one isn't a swordfish. It may have 3 columns involved, but 4 rows.


It doesn't look like 4 rows. Was the post changed?

Edit : OK I see. Columns.
Last edited by sweetbix on Thu Jan 12, 2006 4:30 pm, edited 1 time in total.
sweetbix
 
Posts: 58
Joined: 10 December 2005

Postby Animator » Thu Jan 12, 2006 8:28 pm

Not 4 rows but 4 columns.

R1-C235 R3-C358 R4-C238 : Columns: 2, 3, 5, 8.
Animator
 
Posts: 469
Joined: 08 April 2005

Postby jsmarba » Thu Jan 12, 2006 11:29 pm

Yes 3 rows. 4 colunms. thanks everyone.
jsmarba
 
Posts: 5
Joined: 11 January 2006

Postby Shazbot » Fri Jan 13, 2006 12:19 am

yes, I've done it again. I'm off to look in the yellow pages for Dyslexics Anon.:!:
Shazbot
 
Posts: 220
Joined: 24 September 2005

Postby wkrfresno » Fri Jan 13, 2006 3:33 am

Double swordfish are very common. I suspect people find one and go on without looking for more.
wkrfresno
 
Posts: 2
Joined: 12 January 2006

Postby CathyW » Fri Jan 13, 2006 11:08 pm

Have been using Simple Sudoku to practise some techniques (selecting 'Extreme' difficulty) and found a double swordfish (1s) in this puzzle:

Code: Select all
 
Original grid
 *-----------*
 |9..|...|.3.|
 |.5.|4..|..9|
 |.3.|.5.|8.4|
 |---+---+---|
 |5..|.83|.2.|
 |...|...|...|
 |.8.|79.|..3|
 |---+---+---|
 |7.8|.2.|.1.|
 |3..|..1|.9.|
 |.9.|...|..6|
 *-----------*

1st swordfish found at this point:

 *-----------*
 |9..|...|53.|
 |85.|43.|..9|
 |.3.|.5.|8.4|
 |---+---+---|
 |5.9|.83|.2.|
 |..3|...|9..|
 |.8.|79.|..3|
 |---+---+---|
 |7.8|.2.|.15|
 |3..|..1|.9.|
 |.9.|...|..6|
 *-----------*

{9}      {1246}   {12467} {1268}  {167}   {2678}  {5}      {3}     {12}   
{8}      {5}     {*1267}  {4}     {3}     {267}   {*12}    {67}    {9}     
{126}    {3}      {1267}  {1269}  {5}     {2679}  {8}      {67}    {4}     
{5}      {1467}   {9}     {16}    {8}     {3}     {1467}   {2}     {17}   
{1246}   {12467}  {3}     {1256}  {146}   {2456}   {9}     {458}   {178}   
{*1246}  {8}     {*1246}  {7}     {9}     {2456}  {*146}   {45}    {3}     
{7}      {46}     {8}     {369}   {2}     {469}   {34}     {1}     {5}     
{3}      {246}    {2456}  {568}   {467}   {1}     {247}    {9}     {278}   
{*124}   {9}     {*1245}  {358}   {47}    {4578}  {2347}   {478}   {6}     

And after the eliminations from that you get a second swordfish as follows:

{9}     {+1246}  {2467}  {1268}  {+167}  {2678}   {5}     {3}     {+12}   
{8}     {5}      {1267}  {4}     {3}     {267}    {12}    {67}     {9}     
{26}    {3}      {267}   {1269}  {5}     {2679}   {8}     {67}     {4}     
{5}     {+1467}  {9}     {16}    {8}     {3}      {467}   {2}     {+17}   
{246}   {+12467} {3}     {1256}  {+146}  {2456}   {9}     {458}   {+178}   
{1246}  {8}      {1246}  {7}     {9}     {2456}   {146}   {45}     {3}     
{7}     {46}     {8}     {369}   {2}     {469}    {34}    {1}      {5}     
{3}     {246}    {2456}  {568}   {467}   {1}      {247}   {9}      {278}   
{124}   {9}      {1245}  {358}   {47}    {4578}   {2347}  {478}    {6}     


Grid after applying double swordfish
 *-----------*
 |9..|...|53.|
 |85.|43.|..9|
 |.3.|15.|8.4|
 |---+---+---|
 |5.9|683|.2.|
 |..3|...|9..|
 |.8.|79.|..3|
 |---+---+---|
 |7.8|.2.|.15|
 |3..|..1|.9.|
 |.9.|...|..6|
 *-----------*
   


And the final solution after another swordfish! Made small so as not to be 'spoiler' but it didn't seem to work when in code as well! (What's the syntax when you want to use formatting e.g. bold or font size or colour within code?)

*-----------*
|914|867|532|
|857|432|169|
|632|159|874|
|---+---+---|
|579|683|421|
|463|215|987|
|281|794|653|
|---+---+---|
|748|926|315|
|326|541|798|
|195|378|246|
*-----------*


Cathy:)
CathyW
 
Posts: 316
Joined: 20 June 2005

Postby Shazbot » Fri Jan 13, 2006 11:40 pm

Unfortunately I don't think you CAN use other formatting within code - it shows your text exactly as-is and disregards any BBCode you've added within the Code /Code tags.
Shazbot
 
Posts: 220
Joined: 24 September 2005

Postby tso » Sat Jan 14, 2006 1:05 am

wkrfresno wrote:Double swordfish are very common. I suspect people find one and go on without looking for more.


Puzzles *requiring* finding two swordfish are not common -- assuming that you always apply simpler tactics first (x-wings, locked candidates, naked and hidden subsets, singles -- your selection may vary)

At the same time, the meaning of "common" depends on where you get your puzzle. If you use Simple Sudoku to generate "extreme" puzzles, most of them will have a Swordfish -- again, depending on you solving methods. One could apply much more complex tactics to circumvent anything simpler. If on the other hand, you use Pappocom Sudoku, you will never, ever need a Swordfish. "Random" Sudoku's composition depend an the construction methods, which vary, but generally, random puzzles are pretty easy and fish-free. But you can solve even the simplest puzzles by filling in the candidate lists and looking for swordfish right off the bat.

CathyW wrote:Have been using Simple Sudoku to practise some techniques (selecting 'Extreme' difficulty) and found a double swordfish (1s) in this puzzle:

And after the eliminations from that you get a second swordfish as follows:

Code: Select all
{9}     {+1246}  {2467}  {1268}  {+167}  {2678}   {5}     {3}     {+12}   
{8}     {5}      {1267}  {4}     {3}     {267}    {12}    {67}     {9}     
{26}    {3}      {267}   {1269}  {5}     {2679}   {8}     {67}     {4}     
{5}     {+1467}  {9}     {16}    {8}     {3}      {467}   {2}     {+17}   
{246}   {+12467} {3}     {1256}  {+146}  {2456}   {9}     {458}   {+178}   
{1246}  {8}      {1246}  {7}     {9}     {2456}   {146}   {45}     {3}     
{7}     {46}     {8}     {369}   {2}     {469}    {34}    {1}      {5}     
{3}     {246}    {2456}  {568}   {467}   {1}      {247}   {9}      {278}   
{124}   {9}      {1245}  {358}   {47}    {4578}   {2347}  {478}    {6} 


... except that there only one place for a 1 in row 3 at this point. Though it's valid to make your exclusions from this second swordfish, nothing but singles is required after the first one.
tso
 
Posts: 798
Joined: 22 June 2005

Postby ronk » Sat Jan 14, 2006 1:14 am

CathyW wrote:1st swordfish found at this point:
................
And after the eliminations from that you get a second swordfish as follows:

I find it amazing that the 2 swordfish exist simultaneously! The first(*) in rows 2, 6, and 9 ... the second(+) in columns 2, 5, and 9.
Code: Select all
 9     +1246   12467  | 1268  +167    2678   | 5      3     +12 
 8      5     *1267   | 4      3      267    |*12     67     9   
 126    3      1267   | 1269   5      2679   | 8      67     4   
----------------------+----------------------+-------------------
 5     +1467   9      | 16     8      3      | 1467   2     +17 
 1246  +12467  3      | 1256  +146    2456   | 9      458   +178
*1246   8     *1246   | 7      9      2456   |*146    45     3   
----------------------+----------------------+-------------------
 7      46     8      | 369    2      469    | 34     1      5   
 3      246    2456   | 568    467    1      | 247    9      278
*124    9     *1245   | 358    47     4578   | 2347   48     6   
ronk
2012 Supporter
 
Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

Postby CathyW » Mon Jan 16, 2006 1:53 pm

tso wrote:
... except that there only one place for a 1 in row 3 at this point. Though it's valid to make your exclusions from this second swordfish, nothing but singles is required after the first one.


You are right, of course! Often when looking for more complex patterns one overlooks the singles and pairs that should be obvious.
CathyW
 
Posts: 316
Joined: 20 June 2005

Next

Return to Advanced solving techniques