Mathdoku, also known as KenKen or Calcudoku, is a Latin square split into cages. Each cage shows a target and an operation you must reach. You fill the grid with the numbers 1 to n, never repeating one within the same row or column.
Mathdoku (also known as KenKen or Calcudoku) is played on a square grid n cells to a side (4, 5 or 6 depending on difficulty). As in Sudoku, every row and column must contain the numbers 1 to n exactly once.
The grid is divided into cages outlined in bold. Each cage carries, in its top-left corner, a number followed by an operation sign. The numbers placed in the cage must produce that number through the given operation: addition (+), multiplication (×), subtraction (−) or division (÷). For subtraction and division, which apply to two cells, the order of the numbers does not matter. A single-cell cage simply fixes its number.
Select a cell then type a number (or use the pad); type the same number again to clear it. Duplicates in a row or column, and cages whose arithmetic is wrong once filled, are flagged in red. Undo freely, or ask for a hint.
These cells are given outright. Filling them first locks in several certain numbers that immediately constrain their rows and columns.
For a given target and operation, note every pair or triple that fits. A cage often allows only two or three combinations, which quickly narrows the candidates.
A number already present in a row or column cannot return there. Cross that constraint with a cage's combinations to rule out the impossible options.
Two-cell cages offer fewer combinations than large ones, so less uncertainty. Solving them early frees up numbers that unlock the rest of the grid.
Yes, but only if the cells are not in the same row or column. The Latin-square rule always wins: two cells of one cage that share a row or column cannot hold the same number, even when the arithmetic would allow it.
Yes. Every Mathdoku is built to have exactly one solution, reachable through logic alone. You never need to guess at random to finish.
Three sizes by difficulty: 4×4 on Easy, 5×5 on Medium and 6×6 on Hard. The larger the grid, the more cages and combinations you have to juggle.
No. The game runs straight in your browser, with no sign-up or account required. You can start a grid right away.
Yes. Once the page has loaded, the game works without a connection. Your progress stays on the device, so you can pick a grid back up where you left off.
Yes. Mathdoku offers one daily grid that is identical for everyone on a given date. Everyone faces the same challenge the same day, and the archive lets you replay past dates.