AZTest
← All Logic Puzzles
Regions Pure Logic · No Guessing 100 Online Levels

Shikaku

Cut the whole grid into rectangles and squares, each containing exactly one number: its area.

Alternative Names: Shikaku ni Kire (四角に切れ) Divide by Box Rectangles Block Division

Basic Game Premise & Rules

Shikaku is an untimed, deterministic pencil-and-paper logic puzzle played on a grid. Every valid puzzle has exactly one unique solution that can be discovered through rigorous deductive reasoning alone, without trial and error or guessing.

Rules by Example

See how each rule looks when done correctly versus when violated:

One Number, Its Area

Every rectangle holds exactly one number, and the number is how many cells the rectangle covers.

34423
✓ Correct Five rectangles, each with one number that counts its cells.
34423
✗ Wrong Two numbers in one rectangle (even though 4 + 2 is its area).
34423
✗ Wrong The 3 covers only two cells, and the 2 covers three.

Rectangles Only

Every region is a rectangle (a square counts), and together they cover the whole grid. A 4 can be 1 × 4, 2 × 2 or 4 × 1, but never an L.

42622
✓ Correct A square 4, a 2 × 3 for the 6, and three dominoes.
42631
✗ Wrong The 3 has three cells, but they make an L, not a rectangle.
42622
✗ Wrong The strip at the top right has no number, and the 6 is left with four cells.

History & Origins

Shikaku was invented by Nikoli and debuted in *Puzzle Communication Nikoli* #34 in 1991 under the title *Shikaku ni Kire* ('Cut into Rectangles').

It is one of the most accessible and pedagogically rich pencil puzzles ever conceived: solvers learn to decompose numbers into integer factor pairs (such as 12 = 1×12, 2×6, 3×4, 4×3, 6×2, 12×1) while fitting them into geometric space. Its widespread adoption in schools and puzzle magazines reflects its perfect blend of elementary arithmetic and spatial planning.

Mathematical Concepts & Computational Complexity

Beyond its entertainment value, Shikaku formalizes core principles of discrete mathematics, theoretical computer science, and combinatorics:

Exact Cover by Rectilinear Rectangles

Shikaku is an applied instance of the Exact Cover Problem: given a universe U of grid cells, select a sub-collection of candidate rectangles R_1, ..., R_k such that each cell is covered exactly once and each clue is matched. Donald Knuth's Algorithm X (Dancing Links / DLX) provides a canonical solving engine for Shikaku.

NP-Completeness via Planar 3-SAT

In 2008, Erik Demaine, Robert Hearn, and Michael Hoffmann proved that Shikaku is NP-complete. Even when rectangles are restricted to areas of small primes and composites, orchestrating choices of orientations can encode Boolean SAT formulas.

Prime Areas & Corner Anchors

Prime numbers P (such as 2, 3, 5, 7) have only 1×P or P×1 orientations. If a prime clue sits near a corner or boundary, its orientation is often immediately forced. Furthermore, if two clues share a candidate rectangle, inclusion-exclusion eliminates overlapping territory.

References & Further Reading

  1. Demaine, E. D., Hearn, R. A., & Hoffmann, M. (2008). 'Shikaku is NP-complete'. Workshop on Combinatorial Algorithms.
  2. Nikoli (1991). Puzzle Communication Nikoli #34. Tokyo: Nikoli Publishing.
  3. Knuth, D. E. (2000). 'Dancing Links'. Millennial Perspectives in Computer Science.

Free Printable PDF Booklet

50 Levels Included · Solutions in Back

Download our beautifully formatted, high-resolution A4 puzzle booklet. Generated directly from the handcrafted levels on AZTest, it contains 50 puzzles ordered from gentle introductory boards up to master-level challenges, followed by complete solutions at the back.

Difficulty Stage Grid Size Description Puzzles
Intro 5×5 Corner primes and small squares demonstrating rectangular tiling. 3
Easy 5×5 to 6×6 Clean factorizations: 4s (2×2, 1×4) and 6s (2×3). 12
Medium 7×7 to 8×8 Overlapping factor candidates and edge boundary traps. 12
Hard 8×8 to 10×10 Large composite areas (8s, 10s, 12s) requiring multi-cell elimination. 12
Expert 10×10 Master grids with sparse clues and intricate interlocking rectangles. 11
📥 Download Shikaku Booklet (PDF) 1298 KB

Formatted for standard A4 printing. 4 puzzles per page provides ample workspace for pencil solving. Free to distribute for personal or educational use.

Explore More Logic Puzzles

Slitherlink

Connect dots to draw a single unbroken loop guided by surrounding cell numbers.

Wolves & Sheep

Draw a Slitherlink loop that fences the gentle sheep in and keeps the fierce wolves out.

Masyu

Draw one closed loop through cell centres that rigorously obeys the black and white pearls.

Nurikabe

Shade the sea to leave numbered white islands of exact sizes in one connected ocean.

Nonogram

Shade runs of cells according to row and column number clues to reveal a hidden picture.

Themed Nonogram

Solve color picture cross puzzles that blossom into vibrant pixel art upon completion.

Hitori

Shade the repeated numbers until every row and column has unique digits, keeping all white cells connected.

Kurodoko

Shade cells so every numbered circle sees exactly that many white cells in its row and column.

Mosaic

Shade cells guided by numbers that count how many cells around them are filled, revealing a hidden picture.

Binairo

Fill every cell with blue or white circles: never three in a row, every line half and half.

Heyawake

Shade rooms according to their clues without isolating unshaded cells or leaving long straight corridors.

Searchlights

Place light beams in white cells so that every numbered black post sees its exact clue count.

Light Up

Place light bulbs to illuminate every white cell without any two shining on each other.

Calcudoku

A Latin square where every outlined cage satisfies its arithmetic target and operator.

Skyscrapers

Place towers of heights 1 to N so that each outside clue sees the exact count of buildings.

Sum Skyscrapers

Skyscrapers where each outside clue is the sum of the heights of all visible buildings.

Suguru

The elegant polyomino number puzzle where no two identical digits can touch, even diagonally.

Futoshiki

A Latin square puzzle with inequality signs pointing between neighboring numbers.

Fillomino

Divide the grid into polyomino blocks where each cell's number equals the area of its block.

Galaxies

Partition the grid into rotational 180° symmetric galaxies, each centered on a single dot.

L-Pieces

Draw borders to partition all white cells into perfect four-cell L-shapes.

Numberlink

Connect pairs of matching numbers with continuous non-crossing paths covering the grid.

Bridges

Connect the island network with straight horizontal and vertical bridges into one united world.

Slant

Draw a diagonal slash in every cell matching the corner numbers, without ever closing a loop.

Tents

Pitch a tent beside every tree with no two tents touching, matching row and column counts.

Marupeke

Place circles and crosses in every cell without creating three in a row in any direction.

Ready to play Shikaku?

Test your deduction skills online with 100 free interactive levels, automatic conflict detection, progressive hints, and continuous browser save state.

Start Playing Level 1 →