SudokuHint

Jellyfish Strategy in Sudoku: A Beginner's Guide to 4-Row Fish

The Jellyfish strategy in Sudoku is a powerful advanced technique where a single candidate digit appears in exactly four rows, and across those rows, it is confined to exactly four columns. This symmetrical 4x4 pattern allows you to eliminate that candidate from all other cells in those four columns. Building on the simpler [X-Wing](/techniques/x-wing) (2x2) and [Swordfish Strategy](/blog/swordfish-sudoku-strategy) (3x3), the Jellyfish is part of a family of logical patterns known as Fish, which are essential for solving the toughest puzzles. While it may seem complex, spotting it becomes manageable by systematically tracking a candidate's possible positions.

By SudokuHint TeamLast updated

What is a Jellyfish? The Core Pattern

A Jellyfish is identified for a single candidate number (e.g., all possible places for the digit '7'). For the pattern to exist, you must find four rows where this candidate can only appear. Crucially, across these four rows, the candidate's possible cells must align to occupy only four columns in total. The rows do not need to be consecutive, and the columns do not need to be in order. The defining symmetry is the 4x4 relationship: four rows intersecting with four columns. If the candidate appears in more than four columns across your chosen rows, it is not a valid Jellyfish. Understanding this foundational pattern is key to mastering Sudoku Fish Patterns.

Key insight: Think of it as a net: four rows (the threads) catch the candidate in exactly four column positions (the knots).

How to Spot a Jellyfish: A Step-by-Step Guide

Finding a Jellyfish requires focused candidate tracking. Start by selecting one digit to analyze throughout the entire grid. Use pencil marks to note every possible cell for that digit. Now, scan the rows. You are looking for a set of four rows where this digit is a candidate. For each of these rows, note which columns contain the candidate. The critical check: the total set of columns used across all four rows must number exactly four. For example, if rows 1, 3, 5, and 7 contain candidate '5' only in columns 2, 4, 6, and 8 (in some combination), you have found the Jellyfish structure. The candidate can appear 2, 3, or 4 times in each of the four rows, but its column positions are restricted to the set of four.

  • Work digit by digit. It's easier to hunt for one number at a time.
  • Use the 'cross-hatching' view: look at all nine positions for your candidate in one row before moving to the next.

The Elimination Rule: What to Remove and Why

Once a valid Jellyfish is confirmed, you can make eliminations. The logic is based on a 'forcing chain': the candidate must be placed once in each of the four involved rows. Because the placements are restricted to the four key columns, the candidate cannot appear anywhere else in those columns. Therefore, you can safely remove the candidate from all other cells in those four columns that are not part of the defining four rows. The eliminations occur outside the Jellyfish's row-column intersections. Importantly, you do not make eliminations in the rows; the focus is solely on cleaning up the affected columns. This can clear numerous pencil marks and often directly reveal a Naked Single or other simpler patterns.

Jellyfish in Action: A Simplified Example

Imagine candidate '3' has possible positions only in rows A, C, F, and H. In row A, '3' can be in columns 2 and 7. In row C, it's in columns 4 and 7. In row F, it's in columns 2 and 9. In row H, it's in columns 4 and 9. Collectively, the columns used are 2, 4, 7, and 9—exactly four columns. This forms a Jellyfish on rows A, C, F, H and columns 2, 4, 7, 9. You can now erase candidate '3' from any other cell in columns 2, 4, 7, and 9 that is not in rows A, C, F, or H. This might solve a cell in column 2, row B, for instance, pushing the puzzle forward.

Key insight: The pattern works the same if you swap 'rows' and 'columns'. A Jellyfish can also be four columns restricted to four rows, with eliminations in the rows.

Relationship to X-Wing and Swordfish

The Jellyfish is a natural extension of smaller Fish patterns. An X-Wing is a 2-row, 2-column pattern. A Swordfish Strategy involves 3 rows and 3 columns. The Jellyfish completes the logical progression as the 4x4 Fish. All these techniques operate on the same principle: if a candidate is confined to N rows (or columns) and those rows collectively use only N columns (or rows), then the candidate can be eliminated from the rest of those columns (or rows). This family of strategies is unified under the concept of Fish. Mastering X-Wing and Swordfish first will make recognizing the Jellyfish pattern much more intuitive, as you'll be trained to look for this row-column confinement.

Common Pitfalls and Practice Tips

A frequent mistake is miscounting the columns. If your four rows use five or more distinct columns, it's not a Jellyfish. The logic requires a perfect balance. Also, remember the pattern can be 'finned' or have additional candidate positions that break the pure form, which involves more advanced handling. For now, focus on finding the pure pattern. When practicing, don't force it. If you can't find a Jellyfish after a few minutes, check for other advanced techniques like Unique Rectangles or XY-Chains. The Jellyfish is a specific tool for a specific board state; our hint engine most often suggests it when the puzzle is nearly solved but stalled by one persistent candidate.

  • Verify the 'exactly four columns' rule twice. This is the most common error.
  • Start your search with the candidate that has the fewest remaining pencil marks on the board.

Key Facts

  • ▪A Jellyfish is an advanced Sudoku technique where one candidate digit is confined to exactly four rows and exactly four columns.
  • ▪The pattern allows you to eliminate that candidate from all other cells in the four involved columns (or rows, if transposed).
  • ▪Jellyfish is the 4x4 member of the Fish family, following the 2x2 X-Wing and the 3x3 Swordfish.
  • ▪The four rows and four columns in a Jellyfish do not need to be consecutive or in any specific order.
  • ▪For the pattern to be valid, the candidate must appear in no more than four distinct columns across the four chosen rows.
  • ▪Eliminations are made only in the columns (or rows) of the pattern, not within the defining rows (or columns) themselves.
  • ▪Spotting a Jellyfish requires systematic pencil marking and analyzing the board one candidate digit at a time.
  • ▪No, a Jellyfish is exactly four rows by four columns; larger patterns like Squirmbag (5) or Whale (6) have their own names.
  • ▪The logic is bidirectional: a Jellyfish can be four rows restricted to four columns OR four columns restricted to four rows.

Frequently Asked Questions

Can a Jellyfish have more than four rows?

No, a Jellyfish is exactly four rows by four columns. The logic scales to larger fish (Squirmbag for 5, Whale for 6), but those are different, rarer patterns with distinct names.

Where do I eliminate candidates in a Jellyfish?

Eliminate the candidate from all other cells in the four affected columns that are not part of the four defining rows. If the pattern is column-based, eliminate from the four rows instead.

Is the Jellyfish common in puzzles?

It's less common than X-Wing or Swordfish. You typically encounter it in Diabolical or Extreme-rated puzzles when simpler Fish patterns don't apply.

Do I need to know X-Wing before learning Jellyfish?

Yes, strongly recommended. Understanding the 2x2 X-Wing logic is the foundation for all larger Fish patterns, making Jellyfish much easier to grasp.