Consider $n \times n$ binary matrices. I am interested in the largest number of ones possible in an $n \times n$ binary matrix with full rank over the field of integers mod 2 with the following restriction.
- No two rows have two or more bits set to 1 in common positions.
The following is an example of such a matrix.
[[1 0 0 1 1 0 1]
[0 1 0 0 1 0 0]
[0 0 1 0 1 0 0]
[0 0 0 0 1 1 0]
[1 1 1 0 0 0 0]
[0 0 0 0 0 0 1]
[0 0 1 1 0 1 0]]
The optimal values for $n = 2, 3, 4, 5$ are $3, 5, 9, 11$. The optimal value for $n=6$ is at least $15$.
Previously asked at math.stackexchange.com.