Kenken Online

The Latin-square arithmetic puzzle. Satisfy cage mathematical operations (+, −, ×, ÷) without repeating any digits across rows or columns.

Elapsed Time
00:00
Moves Made
0
Remaining Cells
0
Best Time
--:--
Select a cell to view cage target and constraints. Pencil: OFF
Responsive Banner Ad Space (AdSense Compliant • Clean Separation)

The Mathematics of Kenken: Solving Latin Squares with Arithmetic Cages

Invented in 2004 by the renowned Japanese mathematics instructor Tetsuya Miyamoto, Kenken (also published globally under the names Calcudoku and Kendoku) was created with a clear educational mission: to teach students how to think mathematically rather than memorize formulas. The name "KenKen" derives from the Japanese kanji for "cleverness" or "wisdom", reflecting its emphasis on strategic inference, factoring, and combinatorial mental arithmetic.

Core Rules and Structure

A Kenken puzzle is played on an N × N grid. The rules combine the row-column constraints of a classic Latin square with arithmetic sub-goals:

Deconstructing Arithmetic Operations

Each arithmetic operator presents distinct combinatorial constraints that savvy solvers leverage to narrow candidate possibilities:

1. Single-Cell Freebies (The Identity Clues)

Any cage consisting of a single cell has no operator attached (e.g. 3). These are instant anchors. Fill them immediately at the start of your solve.

2. Two-Cell Division (÷) Cages

Division cages almost universally involve exactly two cells. The larger number divided by the smaller number must yield the target integer:
• In a 4×4 grid, a 2÷ cage can only be {4, 2} or {2, 1}.
• A 3÷ cage can only be {3, 1}.
• In a 6×6 grid, a 3÷ cage can be {6, 2} or {3, 1}; a 5÷ cage must be {5, 1}.

3. Two-Cell Subtraction (−) Cages

Subtraction cages also contain two cells. The absolute difference between the two numbers must equal the clue:
• In a 4×4 grid, a 3− cage must be {4, 1} (the only pair with difference 3).
• A 2− cage can be {4, 2} or {3, 1}.
• In a 5×5 grid, a 4− cage must be {5, 1}.

The Row-Column Sum Constant (The Tn Invariant)

Because each row and column contains a permutation of digits 1 through N, the total sum of any complete row or column is mathematically fixed. This sum equals the N-th triangular number, denoted T_N = N × (N + 1) / 2:

If a row consists of two completed cages that sum to 7 and one cell from a multi-cell cage sticking into that row, the isolated cell's value can be instantly deduced: 10 − 7 = 3! This parity technique eliminates guesswork in complex boards.

Prime Factorization for Multiplication Cages

Large multiplication cages (e.g., 24×, 60×) are cracked by breaking down the target into prime factors. For example, in a 5×5 puzzle, a 3-cell cage with target 20× has prime factors 2 × 2 × 5. In a 5×5 grid, the only available integers that multiply to 20 across 3 cells are {1, 4, 5} (since {2, 2, 5} would require repeating the digit 2, which is illegal if they share a row/column).

Frequently Asked Questions About Kenken

What are the core rules of Kenken / Calcudoku?
For an N x N grid, fill every row and column with digits 1 through N exactly once without repetition. Additionally, each outlined cage must produce the target number shown in its corner using the specified arithmetic operation (+, -, *, /).
Can digits repeat inside the same cage in Kenken?
Yes, digits can repeat within a cage as long as they do not appear in the same row or column. For example, in an L-shaped cage occupying two different rows and columns, the same digit can legally appear twice if row/column uniqueness is maintained.
How does the row/column sum constant help solve grids?
Because every row and column contains digits 1 to N exactly once, their sum is always a fixed mathematical constant: 10 for a 4x4 grid (1+2+3+4), 15 for a 5x5 grid, and 21 for a 6x6 grid. Summing the known cages in a row and subtracting from this constant immediately reveals remaining cell values.
How do 2-cell subtraction and division cages work?
In a 2-cell subtraction cage (e.g. 2-), the larger number minus the smaller number must equal the target. In a division cage (e.g. 2/), dividing the larger digit by the smaller digit must yield the target with no remainder.
Is Kenken suitable for school math classrooms?
Yes. Kenken was invented by Japanese mathematics teacher Tetsuya Miyamoto specifically as a pedagogical tool to build arithmetic fluency, logical reasoning, and working memory without dry memorization.