Cody

Solution 2165900

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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". 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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". 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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". 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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". 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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". 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))

ans = Columns 1 through 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Columns 30 through 58 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Columns 59 through 87 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 Columns 88 through 116 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 Columns 117 through 145 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 Columns 146 through 174 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 Columns 175 through 200 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ans = Columns 1 through 17 0.2500 0.5000 0.7500 1.0000 1.2500 1.5000 1.7500 2.0000 2.2500 2.5000 2.7500 3.0000 3.2500 3.5000 3.7500 4.0000 4.2500 Columns 18 through 34 4.5000 4.7500 5.0000 5.2500 5.5000 5.7500 6.0000 6.2500 6.5000 6.7500 7.0000 7.2500 7.5000 7.7500 8.0000 8.2500 8.5000 Columns 35 through 51 8.7500 9.0000 9.2500 9.5000 9.7500 10.0000 10.2500 10.5000 10.7500 11.0000 11.2500 11.5000 11.7500 12.0000 12.2500 12.5000 12.7500 Columns 52 through 68 13.0000 13.2500 13.5000 13.7500 14.0000 14.2500 14.5000 14.7500 15.0000 15.2500 15.5000 15.7500 16.0000 16.2500 16.5000 16.7500 17.0000 Columns 69 through 85 17.2500 17.5000 17.7500 18.0000 18.2500 18.5000 18.7500 19.0000 19.2500 19.5000 19.7500 20.0000 20.2500 20.5000 20.7500 21.0000 21.2500 Columns 86 through 102 21.5000 21.7500 22.0000 22.2500 22.5000 22.7500 23.0000 23.2500 23.5000 23.7500 24.0000 24.2500 24.5000 24.7500 25.0000 25.2500 25.5000 Columns 103 through 119 25.7500 26.0000 26.2500 26.5000 26.7500 27.0000 27.2500 27.5000 27.7500 28.0000 28.2500 28.5000 28.7500 29.0000 29.2500 29.5000 29.7500 Columns 120 through 136 30.0000 30.2500 30.5000 30.7500 31.0000 31.2500 31.5000 31.7500 32.0000 32.2500 32.5000 32.7500 33.0000 33.2500 33.5000 33.7500 34.0000 Columns 137 through 153 34.2500 34.5000 34.7500 35.0000 35.2500 35.5000 35.7500 36.0000 36.2500 36.5000 36.7500 37.0000 37.2500 37.5000 37.7500 38.0000 38.2500 Columns 154 through 170 38.5000 38.7500 39.0000 39.2500 39.5000 39.7500 40.0000 40.2500 40.5000 40.7500 41.0000 41.2500 41.5000 41.7500 42.0000 42.2500 42.5000 Columns 171 through 187 42.7500 43.0000 43.2500 43.5000 43.7500 44.0000 44.2500 44.5000 44.7500 45.0000 45.2500 45.5000 45.7500 46.0000 46.2500 46.5000 46.7500 Columns 188 through 200 47.0000 47.2500 47.5000 47.7500 48.0000 48.2500 48.5000 48.7500 49.0000 49.2500 49.5000 49.7500 50.0000 ans = Columns 1 through 17 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000 1.1111 1.2222 1.3333 1.4444 1.5556 1.6667 1.7778 1.8889 Columns 18 through 34 2.0000 2.1111 2.2222 2.3333 2.4444 2.5556 2.6667 2.7778 2.8889 3.0000 3.1111 3.2222 3.3333 3.4444 3.5556 3.6667 3.7778 Columns 35 through 51 3.8889 4.0000 4.1111 4.2222 4.3333 4.4444 4.5556 4.6667 4.7778 4.8889 5.0000 5.1111 5.2222 5.3333 5.4444 5.5556 5.6667 Columns 52 through 68 5.7778 5.8889 6.0000 6.1111 6.2222 6.3333 6.4444 6.5556 6.6667 6.7778 6.8889 7.0000 7.1111 7.2222 7.3333 7.4444 7.5556 Columns 69 through 85 7.6667 7.7778 7.8889 8.0000 8.1111 8.2222 8.3333 8.4444 8.5556 8.6667 8.7778 8.8889 9.0000 9.1111 9.2222 9.3333 9.4444 Columns 86 through 102 9.5556 9.6667 9.7778 9.8889 10.0000 10.1111 10.2222 10.3333 10.4444 10.5556 10.6667 10.7778 10.8889 11.0000 11.1111 11.2222 11.3333 Columns 103 through 119 11.4444 11.5556 11.6667 11.7778 11.8889 12.0000 12.1111 12.2222 12.3333 12.4444 12.5556 12.6667 12.7778 12.8889 13.0000 13.1111 13.2222 Columns 120 through 136 13.3333 13.4444 13.5556 13.6667 13.7778 13.8889 14.0000 14.1111 14.2222 14.3333 14.4444 14.5556 14.6667 14.7778 14.8889 15.0000 15.1111 Columns 137 through 153 15.2222 15.3333 15.4444 15.5556 15.6667 15.7778 15.8889 16.0000 16.1111 16.2222 16.3333 16.4444 16.5556 16.6667 16.7778 16.8889 17.0000 Columns 154 through 170 17.1111 17.2222 17.3333 17.4444 17.5556 17.6667 17.7778 17.8889 18.0000 18.1111 18.2222 18.3333 18.4444 18.5556 18.6667 18.7778 18.8889 Columns 171 through 187 19.0000 19.1111 19.2222 19.3333 19.4444 19.5556 19.6667 19.7778 19.8889 20.0000 20.1111 20.2222 20.3333 20.4444 20.5556 20.6667 20.7778 Columns 188 through 200 20.8889 21.0000 21.1111 21.2222 21.3333 21.4444 21.5556 21.6667 21.7778 21.8889 22.0000 22.1111 22.2222 ans = Columns 1 through 17 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1.0000 1.0625 Columns 18 through 34 1.1250 1.1875 1.2500 1.3125 1.3750 1.4375 1.5000 1.5625 1.6250 1.6875 1.7500 1.8125 1.8750 1.9375 2.0000 2.0625 2.1250 Columns 35 through 51 2.1875 2.2500 2.3125 2.3750 2.4375 2.5000 2.5625 2.6250 2.6875 2.7500 2.8125 2.8750 2.9375 3.0000 3.0625 3.1250 3.1875 Columns 52 through 68 3.2500 3.3125 3.3750 3.4375 3.5000 3.5625 3.6250 3.6875 3.7500 3.8125 3.8750 3.9375 4.0000 4.0625 4.1250 4.1875 4.2500 Columns 69 through 85 4.3125 4.3750 4.4375 4.5000 4.5625 4.6250 4.6875 4.7500 4.8125 4.8750 4.9375 5.0000 5.0625 5.1250 5.1875 5.2500 5.3125 Columns 86 through 102 5.3750 5.4375 5.5000 5.5625 5.6250 5.6875 5.7500 5.8125 5.8750 5.9375 6.0000 6.0625 6.1250 6.1875 6.2500 6.3125 6.3750 Columns 103 through 119 6.4375 6.5000 6.5625 6.6250 6.6875 6.7500 6.8125 6.8750 6.9375 7.0000 7.0625 7.1250 7.1875 7.2500 7.3125 7.3750 7.4375 Columns 120 through 136 7.5000 7.5625 7.6250 7.6875 7.7500 7.8125 7.8750 7.9375 8.0000 8.0625 8.1250 8.1875 8.2500 8.3125 8.3750 8.4375 8.5000 Columns 137 through 153 8.5625 8.6250 8.6875 8.7500 8.8125 8.8750 8.9375 9.0000 9.0625 9.1250 9.1875 9.2500 9.3125 9.3750 9.4375 9.5000 9.5625 Columns 154 through 170 9.6250 9.6875 9.7500 9.8125 9.8750 9.9375 10.0000 10.0625 10.1250 10.1875 10.2500 10.3125 10.3750 10.4375 10.5000 10.5625 10.6250 Columns 171 through 187 10.6875 10.7500 10.8125 10.8750 10.9375 11.0000 11.0625 11.1250 11.1875 11.2500 11.3125 11.3750 11.4375 11.5000 11.5625 11.6250 11.6875 Columns 188 through 200 11.7500 11.8125 11.8750 11.9375 12.0000 12.0625 12.1250 12.1875 12.2500 12.3125 12.3750 12.4375 12.5000 ans = Columns 1 through 17 0.0400 0.0800 0.1200 0.1600 0.2000 0.2400 0.2800 0.3200 0.3600 0.4000 0.4400 0.4800 0.5200 0.5600 0.6000 0.6400 0.6800 Columns 18 through 34 0.7200 0.7600 0.8000 0.8400 0.8800 0.9200 0.9600 1.0000 1.0400 1.0800 1.1200 1.1600 1.2000 1.2400 1.2800 1.3200 1.3600 Columns 35 through 51 1.4000 1.4400 1.4800 1.5200 1.5600 1.6000 1.6400 1.6800 1.7200 1.7600 1.8000 1.8400 1.8800 1.9200 1.9600 2.0000 2.0400 Columns 52 through 68 2.0800 2.1200 2.1600 2.2000 2.2400 2.2800 2.3200 2.3600 2.4000 2.4400 2.4800 2.5200 2.5600 2.6000 2.6400 2.6800 2.7200 Columns 69 through 85 2.7600 2.8000 2.8400 2.8800 2.9200 2.9600 3.0000 3.0400 3.0800 3.1200 3.1600 3.2000 3.2400 3.2800 3.3200 3.3600 3.4000 Columns 86 through 102 3.4400 3.4800 3.5200 3.5600 3.6000 3.6400 3.6800 3.7200 3.7600 3.8000 3.8400 3.8800 3.9200 3.9600 4.0000 4.0400 4.0800 Columns 103 through 119 4.1200 4.1600 4.2000 4.2400 4.2800 4.3200 4.3600 4.4000 4.4400 4.4800 4.5200 4.5600 4.6000 4.6400 4.6800 4.7200 4.7600 Columns 120 through 136 4.8000 4.8400 4.8800 4.9200 4.9600 5.0000 5.0400 5.0800 5.1200 5.1600 5.2000 5.2400 5.2800 5.3200 5.3600...

Output argument "arr" (and maybe others) not assigned during call to "not_squarefree_seq". Error in Test6 (line 5) assert(isequal(not_squarefree_seq(n),arr_corr))