Cody

Solution 2165912

Submitted on 19 Mar 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
n = 1:5; arr_corr = [4, 8, 9, 12, 16]; assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test1 (line 3) assert(isequal(not_squarefree_seq(n),arr_corr))

2   Fail
n = 1:10; arr_corr = [4, 8, 9, 12, 16, 18, 20, 24, 25, 27]; assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test2 (line 3) assert(isequal(not_squarefree_seq(n),arr_corr))

3   Fail
n = 3:7; arr_corr = [9 12 16 18 20]; assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test3 (line 3) assert(isequal(not_squarefree_seq(n),arr_corr))

4   Fail
n = 20:30; arr_corr = [52 54 56 60 63 64 68 72 75 76 80]; assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test4 (line 3) assert(isequal(not_squarefree_seq(n),arr_corr))

5   Fail
n = 1:62; arr_corr = [4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 50, 52, 54, 56, 60, 63, 64, 68, 72, 75, 76, 80, 81, 84, 88, 90, 92, 96, 98, 99, 100, 104, 108, 112, 116, 117, 120, 121, 124, 125, 126, 128, 132, 135, 136, 140, 144, 147, 148, 150, 152, 153, 156, 160]; assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test5 (line 3) assert(isequal(not_squarefree_seq(n),arr_corr))

6   Fail
i1 = randi(20,1); n = i1:(i1+randi(25,1)); arr_tot = [4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 50, 52, 54, 56, 60, 63, 64, 68, 72, 75, 76, 80, 81, 84, 88, 90, 92, 96, 98, 99, 100, 104, 108, 112, 116, 117, 120, 121, 124, 125, 126, 128, 132, 135, 136, 140, 144, 147, 148, 150, 152, 153, 156, 160]; arr_corr = arr_tot(n); assert(isequal(not_squarefree_seq(n),arr_corr))

ll = Columns 1 through 29 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 Columns 30 through 50 120 124 128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 192 196 200 ll = 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 ll = 16 32 48 64 80 96 112 128 144 160 176 192 ll = 25 50 75 100 125 150 175 200 ll = 36 72 108 144 180 ll = 49 98 147 196 ll = 64 128 192 ll = 81 162 ll = 100 200 ll = 121 ll = 144 ll = 169 ll = 196 ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector ll = 1×0 empty double row vector

Index exceeds the number of array elements (99). Error in not_squarefree_seq (line 6) l = mod(t,s(i)); Error in Test6 (line 5) assert(isequal(not_squarefree_seq(n),arr_corr))