I'm stupid and fucked. I need 10x10 matrices with determinants of 0 but there can be no zeroes and no more than 4 consecutive 1's. Help.
Write down everything you know about it with variables, and statements relating those variable to numbers
Any matrix with an identical row or column has a determinant of 0
>>7704560
no columns can be identical
>>7704590
If two columns were identical, then the transpose would have determinant of 0. But the determinant of a matrix is the same as that of its transpose.
>>7704590
Make one column a scalar multiple of the other
>>7704554
Here you go. No columns are identical and there isn't a single 1 in there.
[2,3,4,5,6,7,8,9,10,11;
2,3,4,5,6,7,8,9,10,11;
... repeat ...];
>>7704554
an nxn matrix has a determinant of 0 if it's rank is less than n i.e. one or more rows/columns are linearly dependent.
>>7704645
example:
{ 1, 2, 3, 4, 5, 6, 7, 8, 9,10}
{ 2, 4, 6, 8,10,12,14,16,18,20}
Then 8 random rows.
>>7704554
1 2 3 4 5 6 7 8 9 1
2 1 2 2 2 2 2 2 2 2
3 3 1 3 3 3 3 3 3 3
4 4 4 1 4 4 4 4 4 4
5 5 5 5 1 5 5 5 5 5
6 6 6 6 6 1 6 6 6 6
7 7 7 7 7 7 1 7 7 7
8 8 8 8 8 8 8 1 8 8
9 9 9 9 9 9 9 9 1 9
1 2 3 4 5 6 7 8 9 1
>>7704590
1 2 3 4 5 6 7 8 9 1
2 1 2 3 4 5 6 7 8 9
3 2 1 2 3 4 3 6 7 8
4 3 2 1 2 3 4 5 6 7
5 4 3 2 1 2 5 4 5 6
6 5 4 3 2 1 6 3 4 5
7 6 5 4 3 2 1 2 3 4
8 7 6 5 4 3 8 1 2 3
9 8 7 6 5 4 9 9 1 2
1 2 3 4 5 6 7 8 9 1