Key takeaways
- Two alike side by side force the other symbol onto both ends of the pair.
- A single gap between two alike always takes the other symbol.
- Once a line holds half of one symbol, every empty cell left in it takes the other.
- Classic binary puzzles forbid identical rows and columns. Evenfold has no such rule.
- After every stone you place, check its row and its column for the next move.
To solve a binary puzzle, fill only the cells the rules force, and check every line you touch. Two alike side by side push the other symbol onto both ends of the pair. A single gap between two alike takes the other symbol. Once a row or column holds half of one symbol, every empty cell left in it takes the other. If the puzzle has = and × signs, a sign beside a filled cell decides its neighbour. And each new symbol sits in a row and a column, so look along both for the next forced cell.
We make Evenfold at 9io. It’s a daily binary puzzle for iPhone and iPad, free on the App Store, and it’s the worked example in this guide. Evenfold plays the classic puzzle with ink and pearl stones in place of 0 and 1, and adds = and × signs between cells. By the grading in its puzzle generator, its easy puzzles need nothing beyond the moves above.
This guide sets out the rules and how the classic versions and Evenfold differ, then takes the techniques in the order you’d use them, on one 6×6 puzzle solved from the first stone to the last. We checked every grid with a short solver script of our own. The puzzle has exactly one solution, and each step follows from the reason given for it. When these moves run out, our guide to advanced binary puzzle techniques picks up, and Evenfold’s how to play page covers the app.
Binary puzzle rules, classic and in Evenfold
A binary puzzle is a grid to fill with two symbols, and the classic rules come in three parts. Every row and column holds as many of one symbol as the other. No more than two of the same symbol may sit next to each other in a row or column. And no two rows, and no two columns, may be identical. That’s how one of the puzzle’s publishers states them,1 and a 2017 paper on solving binary puzzles defines a solved one by the same three conditions.2
The puzzle’s invention is credited to Adolfo Zanellati, who called it Tohu wa Vohu,3 and Binairo’s makers first published their version in a Belgian newspaper in the summer of 2009.1 It goes by many names, including Takuzu and Binairo, and you’ll find it with 0 and 1, with X and O,4 or with black and white squares.3 Some computer versions make the third rule an option.3 Evenfold leaves it out. The game’s code checks exactly four rules, the first two classic ones plus the two signs, so two rows may be identical in Evenfold, and so may two columns.
| Classic binary puzzle | Evenfold | |
|---|---|---|
| Symbols | 0 and 1, two colours, or X and O | Ink and pearl stones |
| Board | Normally even, commonly 4×4 to 20×20. One publisher also makes odd squares from 11×11 to 19×19, with one extra 1 in every line | 6×6, 8×8, 10×10 and 12×12, plus a 4×4 in the tutorial |
| As many of each symbol in every row and column | Yes | Yes |
| Never three alike side by side | Yes | Yes |
| No two identical rows or columns | Yes, though some computer versions make it optional | No such rule |
| Signs between cells | None | = for the same stone, × for different ones |
The first two rules leave a line very few shapes. A 6-cell row has 64 possible fillings, 20 of them balanced, and only 14 of those avoid three in a row. An 8-cell line has 34 valid shapes, a 10-cell line 84 and a 12-cell line 208.5 The third rule cuts deeper on a whole board. By our count there are 11,222 ways to fill a 6×6 board under Evenfold’s rules, and only 4,140 of them have every row and every column different.6
How to read the grids, and the puzzle to solve
In the grids below, I is an ink stone, P is a pearl stone and a dot is an empty cell. A = or × between two cells joins them, and a sign on the line between two rows joins the cells above and below it. Rows are numbered down the left and columns along the top. Lower-case i and p are the stones each step adds. If your puzzle uses 0 and 1, read I as one symbol and P as the other.
Here is the puzzle. It’s 6×6, the size of Evenfold’s dailies from Monday to Wednesday, with ten stones and two signs, and it has exactly one solution.
1 2 3 4 5 6
1 . . . . . P
=
2 . . . I I .
3 I P . I . .
×
4 . P . . P .
5 . . I . . .
6 . . . . . I
Pairs: two alike force both neighbours
Three of the same can never sit side by side, so two alike next to each other need the other stone on both sides. In a row, . I I . becomes p I I p. A pair against the edge of the board has only one side to fill. Pairs are the first thing to look for, because you can spot them without counting anything.
The starting grid has three. Row 2 has ink in columns 4 and 5, so columns 3 and 6 take pearl. Column 2 has pearl in rows 3 and 4, so rows 2 and 5 take ink. Column 4 has ink in rows 2 and 3, so rows 1 and 4 take pearl.
1 2 3 4 5 6
1 . . . p . P
=
2 . i p I I p
3 I P . I . .
×
4 . P . p P .
5 . i I . . .
6 . . . . . I
Those six stones have already made new pairs and gaps elsewhere on the board. We’ll come back to them.
The sandwich: a gap between two alike
Two alike with one empty cell between them work the same way. If the gap took the same stone, there would be three in a row, so P . P becomes P i P. Evenfold’s tutorial calls this step “Mind the gap”.
Both gaps on this board came from the pair step. Column 4’s pair put a pearl in row 1, two cells from the given pearl at the end of that row, so the gap between them, column 5, takes ink. Row 4 has the same shape, with pearl in columns 2 and 4, so column 3 takes ink.
1 2 3 4 5 6
1 . . . P i P
=
2 . I P I I P
3 I P . I . .
×
4 . P i P P .
5 . I I . . .
6 . . . . . I
Counting to half a line
Every row and column holds equal numbers of each stone, three of each on a 6×6 board and four on an 8×8. Once a line has its three ink, every empty cell left in it takes pearl, and the other way round. Nothing on the board points at this move, so it’s easy to miss. Count every line that’s nearly full. Evenfold’s line counters, on unless you switch them off, show at the end of each row and below each column how many more of each stone the line needs.
Row 2 now has ink in columns 2, 4 and 5, so its one empty cell, column 1, takes pearl. Row 4 has pearl in columns 2, 4 and 5, so columns 1 and 6 take ink.
1 2 3 4 5 6
1 . . . P I P
=
2 p I P I I P
3 I P . I . .
×
4 i P I P P i
5 . I I . . .
6 . . . . . I
Using = and × joins
Signs between cells aren’t part of the classic rules, and Evenfold adds them. Cells joined by = hold the same stone and cells joined by × hold different ones, so as soon as one side has a stone, the other follows. A sign between two empty cells can’t place a stone by itself, which is why both signs in this puzzle have waited until now.
The = in column 2 joins rows 1 and 2, and row 2 has had ink there since the pair step, so row 1 takes ink too. The × in column 3 joins rows 3 and 4, and row 4 now has ink, so row 3 takes pearl. Signs inside a line help with counting as well, because a × pair always holds one of each, and the advanced guide shows how to use that.
1 2 3 4 5 6
1 . i . P I P
=
2 P I P I I P
3 I P p I . .
×
4 I P I P P I
5 . I I . . .
6 . . . . . I
Looking across rows and columns together
Every stone sits in a row and a column, so each time you place one, check both lines. Most of the moves left in this puzzle were set up by a stone that came from the crossing line. The ink that column 2’s pair put in row 5 made a pair along row 5, and the pearl that row 2’s pair put in column 6 made a pair down column 6. Neither was on the board at the start. When a row stalls, look down the columns of its empty cells, since a column may settle one cell, and the row’s count can then do the rest.
Here is the rest of the solve. Each step uses only stones already on the board.
| Step | Line | What it shows | Stones it places |
|---|---|---|---|
| 1 | Row 5 | Ink pair in columns 2 and 3 | Pearl in columns 1 and 4 |
| 2 | Column 3 | Pearl pair in rows 2 and 3, ink pair in rows 4 and 5 | Ink in row 1, pearl in row 6 |
| 3 | Column 5 | Ink pair in rows 1 and 2 | Pearl in row 3 |
| 4 | Column 6 | Pearl pair in rows 1 and 2 | Ink in row 3 |
| 5 | Row 1 | Ink pair in columns 2 and 3 | Pearl in column 1 |
| 6 | Columns 4, 5 and 6 | New pairs from steps 1, 3 and 4 | Ink at row 6, column 4; ink at row 5, column 5; pearl at row 5, column 6 |
| 7 | Row 6 | Ink in columns 4 and 6, with a gap between | Pearl in column 5 |
| 8 | Columns 1 and 2 | Three pearl in column 1, three ink in column 2 | Ink at row 6, column 1; pearl at row 6, column 2 |
1 2 3 4 5 6
1 P I I P I P
=
2 P I P I I P
3 I P P I P I
×
4 I P I P P I
5 P I I P I P
6 I P P I P I
The finished board breaks no rule, yet rows 1 and 5 are identical, and so are rows 3 and 6, columns 1 and 6, and columns 2 and 5. Evenfold allows that. Under the classic rule, the same ten stones and two signs would have no solution at all, which our solver confirms.
Tips for the classic identical-lines rule
If you play a classic version, its third rule gives you one more move. A line that’s two cells from finished and needs one of each has at most two ways to finish. If one of them would copy a line that’s already complete, the other is the answer. Say row 3 reads I P P I P I and row 6 reads I P . . P I. Row 6 is then either I P P I P I, a copy of row 3, or I P I P P I, and the classic rule leaves only the second.
The move is most useful late in a puzzle, when many lines are full. Don’t use it in Evenfold, where both ways stay open and the columns have to decide.
Doing it in Evenfold
A tap cycles a cell from empty to ink to pearl and back to empty, and the setting Tap order: Pearl first swaps the two stones. Press a cell and drag along its line to paint the stone it gets onto every empty cell you cross, which fills the rest of a counted line in one stroke. With ink first, the default, paint pearl by tapping the cell once, then pressing it again and dragging. Hold a cell to clear it. With Highlight rule breaks on, three in a row shows soft red beneath it, an over-full line’s counter shows the excess in red and a broken sign turns red.
When you’re stuck, Hint finds the next logical step from your board, highlights the cells involved and explains it in a sentence or two. Tap Hint again to apply it. If there’s a wrong stone on your board, the hint points to that first.
Binary puzzle strategy: a checklist for every pass
Run through these in order, and go back to the top each time a stone goes down.
- Fill both ends of every pair of alike stones.
- Fill every gap between two alike stones with the other stone.
- Count every row and column that’s close to full. Half of one stone means the rest are the other.
- Follow every = and × that has a stone on one side.
- For each stone you place, recheck its row and its column.
- In a classic puzzle, compare each line that’s two cells from finished with the complete ones.
- When a whole pass finds nothing, switch to the look-ahead and sign-chain techniques in the advanced guide.
One decision rule covers every cell. Fill it only when you can name the rule that forces it, and if you can’t, leave it empty and look at another line.
Crownfold, our crown-placing daily puzzle, has its own guide, how to solve crown puzzles, and so does Pathfold, in how to solve number path puzzles.
-
PeterFrank, “Binairo”, https://www.peterfrank.be/Puzzles/frmBinairoStart.aspx ↩↩
-
Putranto H. Utomo and Rusydi H. Makarim, “Solving a Binary Puzzle”, Mathematics in Computer Science, 2017, https://doi.org/10.1007/s11786-017-0322-4 ↩
-
Simon Tatham’s Portable Puzzle Collection, “Unruly”, https://www.chiark.greenend.org.uk/~sgtatham/puzzles/doc/unruly.html ↩↩↩
-
Wikipedia, “Takuzu”, https://en.wikipedia.org/wiki/Takuzu ↩
-
OEIS, “A177790”, https://oeis.org/A177790. Its terms for n = 3 to 6 are 14, 34, 84 and 208, and a comment on the entry notes that they count the possible rows or columns of a 2n by 2n binary puzzle. ↩
-
OEIS, “A253316: Number of 2n X 2n Takuzu grids”, https://oeis.org/A253316. Our solver, the one that checked this post’s grids, also counts 4,140, and 11,222 without the identical-lines rule. ↩
Frequently asked questions
What are the rules of a binary puzzle?
Fill every cell with one of two symbols so that each row and column holds the same number of each, with never three alike side by side. Classic versions also forbid two identical rows or two identical columns. Evenfold has no such rule and adds = and × signs between cells.
Does the binary puzzle have other names?
Yes. Publishers sell it under several names, and versions differ in their symbols, their board sizes and whether every row and column must be different. The rules and techniques in this guide work for all of them.
Can two rows be the same in a binary puzzle?
In the classic rules they can’t: every row and every column must be different. Evenfold has no such rule, and the answer to the worked puzzle in this guide has two pairs of identical rows and two of identical columns.
What do = and × mean in a binary puzzle?
They join two neighbouring cells. Cells joined by = hold the same symbol and cells joined by × hold different ones, so once one side is filled, the other follows.
Do you have to guess to solve a binary puzzle?
A well-made binary puzzle has one solution that you can reach by reasoning alone. Every Evenfold puzzle has exactly one, and its listing promises you never have to guess.
What is the best binary puzzle strategy?
Work in passes. Fill both ends of every pair, then every gap between two alike, then any line that already holds half of one symbol, and recheck the row and column of each cell you fill. Only when a whole pass finds nothing do you need the harder techniques.
Building something like this?
9io is a small team of senior engineers with a fractional CTO. We work by the hour, and plans start at $5,000. Send us a note about your product. The reply comes from the person who'd do the work.