OFFSET
0,2
COMMENTS
A Takuzu grid is a 2n X 2n zero-one matrix with the following properties:
1. Every row and every column has n zeros and n ones.
2. No row or column has three consecutive zeros or three consecutive ones.
3. All rows are distinct, and all columns are distinct (but a row may be the same as a column).
LINKS
Wikipedia, Takuzu
EXAMPLE
The following is a 4 X 4 Takuzu grid:
[ 0 1 1 0 ]
[ 1 0 0 1 ]
[ 0 0 1 1 ]
[ 1 1 0 0 ]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Brian Kell, Dec 30 2014
EXTENSIONS
a(5) from Frans J. Faase, Dec 14 2015
STATUS
approved