Cody

# Problem 189. Sum all integers from 1 to 2^n

Solution 1857485

Submitted on 25 Jun 2019
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
x = 3; y_correct = 36; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9

Assertion failed.

2   Fail
x = 7; y_correct = 8256; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9 Q = 9 next = 10 Q = 10 next = 11 Q = 11 next = 12 Q = 12 next = 13 Q = 13 next = 14 Q = 14 next = 15 Q = 15 next = 16 Q = 16 next = 17 Q = 17 next = 18 Q = 18 next = 19 Q = 19 next = 20 Q = 20 next = 21 Q = 21 next = 22 Q = 22 next = 23 Q = 23 next = 24 Q = 24 next = 25 Q = 25 next = 26 Q = 26 next = 27 Q = 27 next = 28 Q = 28 next = 29 Q = 29 next = 30 Q = 30 next = 31 Q = 31 next = 32 Q = 32 next = 33 Q = 33 next = 34 Q = 34 next = 35 Q = 35 next = 36 Q = 36 next = 37 Q = 37 next = 38 Q = 38 next = 39 Q = 39 next = 40 Q = 40 next = 41 Q = 41 next = 42 Q = 42 next = 43 Q = 43 next = 44 Q = 44 next = 45 Q = 45 next = 46 Q = 46 next = 47 Q = 47 next = 48 Q = 48 next = 49 Q = 49 next = 50 Q = 50 next = 51 Q = 51 next = 52 Q = 52 next = 53 Q = 53 next = 54 Q = 54 next = 55 Q = 55 next = 56 Q = 56 next = 57 Q = 57 next = 58 Q = 58 next = 59 Q = 59 next = 60 Q = 60 next = 61 Q = 61 next = 62 Q = 62 next = 63 Q = 63 next = 64 Q = 64 next = 65 Q = 65 next = 66 Q = 66 next = 67 Q = 67 next = 68 Q = 68 next = 69 Q = 69 next = 70 Q = 70 next = 71 Q = 71 next = 72 Q = 72 next = 73 Q = 73 next = 74 Q = 74 next = 75 Q = 75 next = 76 Q = 76 next = 77 Q = 77 next = 78 Q = 78 next = 79 Q = 79 next = 80 Q = 80 next = 81 Q = 81 next = 82 Q = 82 next = 83 Q = 83 next = 84 Q = 84 next = 85 Q = 85 next = 86 Q = 86 next = 87 Q = 87 next = 88 Q = 88 next = 89 Q = 89 next = 90 Q = 90 next = 91 Q = 91 next = 92 Q = 92 next = 93 Q = 93 next = 94 Q = 94 next = 95 Q = 95 next = 96 Q = 96 next = 97 Q = 97 next = 98 Q = 98 next = 99 Q = 99 next = 100 Q = 100 next = 101 Q = 101 next = 102 Q = 102 next = 103 Q = 103 next = 104 Q = 104 next = 105 Q = 105 next = 106 Q = 106 next = 107 Q = 107 next = 108 Q = 108 next = 109 Q = 109 next = 110 Q = 110 next = 111 Q = 111 next = 112 Q = 112 next = 113 Q = 113 next = 114 Q = 114 next = 115 Q = 115 next = 116 Q = 116 next = 117 Q = 117 next = 118 Q = 118 next = 119 Q = 119 next = 120 Q = 120 next = 121 Q = 121 next = 122 Q = 122 next = 123 Q = 123 next = 124 Q = 124 next = 125 Q = 125 next = 126 Q = 126 next = 127 Q = 127 next = 128 Q = 128 next = 129

Assertion failed.

3   Fail
x = 10; y_correct = 524800; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9 Q = 9 next = 10 Q = 10 next = 11 Q = 11 next = 12 Q = 12 next = 13 Q = 13 next = 14 Q = 14 next = 15 Q = 15 next = 16 Q = 16 next = 17 Q = 17 next = 18 Q = 18 next = 19 Q = 19 next = 20 Q = 20 next = 21 Q = 21 next = 22 Q = 22 next = 23 Q = 23 next = 24 Q = 24 next = 25 Q = 25 next = 26 Q = 26 next = 27 Q = 27 next = 28 Q = 28 next = 29 Q = 29 next = 30 Q = 30 next = 31 Q = 31 next = 32 Q = 32 next = 33 Q = 33 next = 34 Q = 34 next = 35 Q = 35 next = 36 Q = 36 next = 37 Q = 37 next = 38 Q = 38 next = 39 Q = 39 next = 40 Q = 40 next = 41 Q = 41 next = 42 Q = 42 next = 43 Q = 43 next = 44 Q = 44 next = 45 Q = 45 next = 46 Q = 46 next = 47 Q = 47 next = 48 Q = 48 next = 49 Q = 49 next = 50 Q = 50 next = 51 Q = 51 next = 52 Q = 52 next = 53 Q = 53 next = 54 Q = 54 next = 55 Q = 55 next = 56 Q = 56 next = 57 Q = 57 next = 58 Q = 58 next = 59 Q = 59 next = 60 Q = 60 next = 61 Q = 61 next = 62 Q = 62 next = 63 Q = 63 next = 64 Q = 64 next = 65 Q = 65 next = 66 Q = 66 next = 67 Q = 67 next = 68 Q = 68 next = 69 Q = 69 next = 70 Q = 70 next = 71 Q = 71 next = 72 Q = 72 next = 73 Q = 73 next = 74 Q = 74 next = 75 Q = 75 next = 76 Q = 76 next = 77 Q = 77 next = 78 Q = 78 next = 79 Q = 79 next = 80 Q = 80 next = 81 Q = 81 next = 82 Q = 82 next = 83 Q = 83 next = 84 Q = 84 next = 85 Q = 85 next = 86 Q = 86 next = 87 Q = 87 next = 88 Q = 88 next = 89 Q = 89 next = 90 Q = 90 next = 91 Q = 91 next = 92 Q = 92 next = 93 Q = 93 next = 94 Q = 94 next = 95 Q = 95 next = 96 Q = 96 next = 97 Q = 97 next = 98 Q = 98 next = 99 Q = 99 next = 100 Q = 100 next = 101 Q = 101 next = 102 Q = 102 next = 103 Q = 103 next = 104 Q = 104 next = 105 Q = 105 next = 106 Q = 106 next = 107 Q = 107 next = 108 Q = 108 next = 109 Q = 109 next = 110 Q = 110 next = 111 Q = 111 next = 112 Q = 112 next = 113 Q = 113 next = 114 Q = 114 next = 115 Q = 115 next = 116 Q = 116 next = 117 Q = 117 next = 118 Q = 118 next = 119 Q = 119 next = 120 Q = 120 next = 121 Q = 121 next = 122 Q = 122 next = 123 Q = 123 next = 124 Q = 124 next = 125 Q = 125 next = 126 Q = 126 next = 127 Q = 127 next = 128 Q = 128 next = 129 Q = 129 next = 130 Q = 130 next = 131 Q = 131 next = 132 Q = 132 next = 133 Q = 133 next = 134 Q = 134 next = 135 Q = 135 next = 136 Q = 136 next = 137 Q = 137 next = 138 Q = 138 next = 139 Q = 139 next = 140 Q = 140 next = 141 Q = 141 next = 142 Q = 142 next = 143 Q = 143 next = 144 Q = 144 next = 145 Q = 145 next = 146 Q = 146 next = 147 Q = 147 next = 148 Q = 148 next = 149 Q = 149 next = 150 Q = 150 next = 151 Q = 151 next = 152 Q = 152 next = 153 Q = 153 next = 154 Q = 154 next = 155 Q = 155 next = 156 Q = 156 next = 157 Q = 157 next = 158 Q = 158 next = 159 Q = 159 next = 160 Q = 160 next = 161 Q = 161 next = 162 Q = 162 next = 163 Q = 163 next = 164 Q = 164 next = 165 Q = 165 next = 166 Q = 166 next = 167 Q = 167 next = 168 Q = 168 next = 169 Q = 169 next = 170 Q = 170 next = 171 Q = 171 next = 172 Q = 172 next = 173 Q = 173 next = 174 Q = 174 next = 175 Q = 175 next = 176 Q = 176 next = 177 Q = 177 next = 178 Q = 178 next = 179 Q = 179 next = 180 Q = 180 next = 181 Q = 181 next = 182 Q = 182 next = 183 Q = 183 next = 184 Q = 184 next = 185 Q = 185 next = 186 Q = 186 next = 187 Q = 187 next = 188 Q = 188 next = 189 Q = 189 next = 190 Q = 190 next = 191 Q = 191 next = 192 Q = 192 next = 193 Q = 193 next = 194 Q = 194 next = 195 Q = 195 next = 196 Q = 196 next = 197 Q = 197 next = 198 Q = 198 next = 199 Q = 199 next = 200 Q = 200 next = 201 Q = 201 next = 202 Q = 202 next = 203 Q = 203 next = 204 Q = 204 next = 205 Q = 205 next = 206 Q = 206 next = 207 Q = 207 next = 208 Q = 208 next = 209 Q = 209 next = 210 Q = 210 next = 211 Q = 211 next = 212 Q = 212 next = 213 Q = 213 next = 214 Q = 214 next = 215 Q = 215 next = 216 Q = 216 next = 217 Q = 217 next = 218 Q = 218 next = 219 Q = 219 next = 220 Q = 220 next = 221 Q = 221 next = 222 Q = 222 next = 223 Q = 223 next = 224 Q = 224 next = 225 Q = 225 next = 226 Q = 226 next = 227 Q = 227 next = 228 Q = 228 next = 229 Q = 229 next = 230 Q = 230 next = 231 Q = 231 next = 232 Q = 232 next = 233 Q = 233 next = 234 Q = 234 next = 235 Q = 235 next = 236 Q = 236 next = 237 Q = 237 next = 238 Q = 238 next = 239 Q = 239 next = 240 Q = 240 next = 241 Q = 241 next = 242 Q = 242 next = 243 Q = 243 next = 244 Q = 244 next = 245 Q = 245 next = 246 Q = 246 next = 247 Q = 247 next = 248 Q = 248 next = 249 Q = 249 next = 250 Q = 250 next = 251 Q = 251 next = 252 Q = 252 next = 253 Q = 253 next = 254 Q = 254 next = 255 Q = 255 next = 256 Q = 256 next = 257 Q = 257 next = 258 Q = 258 next = 259 Q = 259 next = 260 Q = 260 next = 261 Q = 261 next = 262 Q = 262 next = 263 Q = 263 next = 264 Q = 264 next = 265 Q = 265 next = 266 Q = 266 next = 267 Q = 267 next = 268 Q = 268 next = 269 Q = 269 next = 270 Q = 270 next = 271 Q = 271 next = 272 Q = 272 next = 273 Q = 273 next = 274 Q = 274 next = 275 Q = 275 next = 276 Q = 276 next = 277 Q = 277 next = 278 Q = 278 next = 279 Q = 279 next = 280 Q = 280 next = 281 Q = 281 next = 282 Q = 282 next = 283 Q = 283 next = 284 Q = 284 next = 285 Q = 285 next = 286 Q = 286 next = 287 Q = 287 next = 288 Q = 288 next = 289 Q = 289 next = 290 Q = 290 next = 291 Q = 291 next = 292 Q = 292 next = 293 Q = 293 next = 294 Q = 294 next = 295 Q = 295 next = 296 Q = 296 next = 297 Q = 297 next = 298 Q = 298 next = 299 Q = 299 next = 300 Q = 300 next = 301 Q = 301 next = 302 Q = 302 next = 303 Q = 303 next = 304 Q = 304 next = 305 Q = 305 next = 306 Q = 306 next = 307 Q = 307 next = 308 Q = 308 next = 309 Q = 309 next = 310 Q = 310 next = 311 Q = 311 next = 312 Q = 312 next = 313 Q = 313 next = 314 Q = 314 next = 315 Q = 315 next = 316 Q = 316 next = 317 Q = 317 next = 318 Q = 318 next = 319 Q = 319 next = 320 Q = 320 next = 321 Q = 321 next = 322 Q = 322 next = 323 Q...

Assertion failed.

4   Fail
x = 11; y_correct = 2098176; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9 Q = 9 next = 10 Q = 10 next = 11 Q = 11 next = 12 Q = 12 next = 13 Q = 13 next = 14 Q = 14 next = 15 Q = 15 next = 16 Q = 16 next = 17 Q = 17 next = 18 Q = 18 next = 19 Q = 19 next = 20 Q = 20 next = 21 Q = 21 next = 22 Q = 22 next = 23 Q = 23 next = 24 Q = 24 next = 25 Q = 25 next = 26 Q = 26 next = 27 Q = 27 next = 28 Q = 28 next = 29 Q = 29 next = 30 Q = 30 next = 31 Q = 31 next = 32 Q = 32 next = 33 Q = 33 next = 34 Q = 34 next = 35 Q = 35 next = 36 Q = 36 next = 37 Q = 37 next = 38 Q = 38 next = 39 Q = 39 next = 40 Q = 40 next = 41 Q = 41 next = 42 Q = 42 next = 43 Q = 43 next = 44 Q = 44 next = 45 Q = 45 next = 46 Q = 46 next = 47 Q = 47 next = 48 Q = 48 next = 49 Q = 49 next = 50 Q = 50 next = 51 Q = 51 next = 52 Q = 52 next = 53 Q = 53 next = 54 Q = 54 next = 55 Q = 55 next = 56 Q = 56 next = 57 Q = 57 next = 58 Q = 58 next = 59 Q = 59 next = 60 Q = 60 next = 61 Q = 61 next = 62 Q = 62 next = 63 Q = 63 next = 64 Q = 64 next = 65 Q = 65 next = 66 Q = 66 next = 67 Q = 67 next = 68 Q = 68 next = 69 Q = 69 next = 70 Q = 70 next = 71 Q = 71 next = 72 Q = 72 next = 73 Q = 73 next = 74 Q = 74 next = 75 Q = 75 next = 76 Q = 76 next = 77 Q = 77 next = 78 Q = 78 next = 79 Q = 79 next = 80 Q = 80 next = 81 Q = 81 next = 82 Q = 82 next = 83 Q = 83 next = 84 Q = 84 next = 85 Q = 85 next = 86 Q = 86 next = 87 Q = 87 next = 88 Q = 88 next = 89 Q = 89 next = 90 Q = 90 next = 91 Q = 91 next = 92 Q = 92 next = 93 Q = 93 next = 94 Q = 94 next = 95 Q = 95 next = 96 Q = 96 next = 97 Q = 97 next = 98 Q = 98 next = 99 Q = 99 next = 100 Q = 100 next = 101 Q = 101 next = 102 Q = 102 next = 103 Q = 103 next = 104 Q = 104 next = 105 Q = 105 next = 106 Q = 106 next = 107 Q = 107 next = 108 Q = 108 next = 109 Q = 109 next = 110 Q = 110 next = 111 Q = 111 next = 112 Q = 112 next = 113 Q = 113 next = 114 Q = 114 next = 115 Q = 115 next = 116 Q = 116 next = 117 Q = 117 next = 118 Q = 118 next = 119 Q = 119 next = 120 Q = 120 next = 121 Q = 121 next = 122 Q = 122 next = 123 Q = 123 next = 124 Q = 124 next = 125 Q = 125 next = 126 Q = 126 next = 127 Q = 127 next = 128 Q = 128 next = 129 Q = 129 next = 130 Q = 130 next = 131 Q = 131 next = 132 Q = 132 next = 133 Q = 133 next = 134 Q = 134 next = 135 Q = 135 next = 136 Q = 136 next = 137 Q = 137 next = 138 Q = 138 next = 139 Q = 139 next = 140 Q = 140 next = 141 Q = 141 next = 142 Q = 142 next = 143 Q = 143 next = 144 Q = 144 next = 145 Q = 145 next = 146 Q = 146 next = 147 Q = 147 next = 148 Q = 148 next = 149 Q = 149 next = 150 Q = 150 next = 151 Q = 151 next = 152 Q = 152 next = 153 Q = 153 next = 154 Q = 154 next = 155 Q = 155 next = 156 Q = 156 next = 157 Q = 157 next = 158 Q = 158 next = 159 Q = 159 next = 160 Q = 160 next = 161 Q = 161 next = 162 Q = 162 next = 163 Q = 163 next = 164 Q = 164 next = 165 Q = 165 next = 166 Q = 166 next = 167 Q = 167 next = 168 Q = 168 next = 169 Q = 169 next = 170 Q = 170 next = 171 Q = 171 next = 172 Q = 172 next = 173 Q = 173 next = 174 Q = 174 next = 175 Q = 175 next = 176 Q = 176 next = 177 Q = 177 next = 178 Q = 178 next = 179 Q = 179 next = 180 Q = 180 next = 181 Q = 181 next = 182 Q = 182 next = 183 Q = 183 next = 184 Q = 184 next = 185 Q = 185 next = 186 Q = 186 next = 187 Q = 187 next = 188 Q = 188 next = 189 Q = 189 next = 190 Q = 190 next = 191 Q = 191 next = 192 Q = 192 next = 193 Q = 193 next = 194 Q = 194 next = 195 Q = 195 next = 196 Q = 196 next = 197 Q = 197 next = 198 Q = 198 next = 199 Q = 199 next = 200 Q = 200 next = 201 Q = 201 next = 202 Q = 202 next = 203 Q = 203 next = 204 Q = 204 next = 205 Q = 205 next = 206 Q = 206 next = 207 Q = 207 next = 208 Q = 208 next = 209 Q = 209 next = 210 Q = 210 next = 211 Q = 211 next = 212 Q = 212 next = 213 Q = 213 next = 214 Q = 214 next = 215 Q = 215 next = 216 Q = 216 next = 217 Q = 217 next = 218 Q = 218 next = 219 Q = 219 next = 220 Q = 220 next = 221 Q = 221 next = 222 Q = 222 next = 223 Q = 223 next = 224 Q = 224 next = 225 Q = 225 next = 226 Q = 226 next = 227 Q = 227 next = 228 Q = 228 next = 229 Q = 229 next = 230 Q = 230 next = 231 Q = 231 next = 232 Q = 232 next = 233 Q = 233 next = 234 Q = 234 next = 235 Q = 235 next = 236 Q = 236 next = 237 Q = 237 next = 238 Q = 238 next = 239 Q = 239 next = 240 Q = 240 next = 241 Q = 241 next = 242 Q = 242 next = 243 Q = 243 next = 244 Q = 244 next = 245 Q = 245 next = 246 Q = 246 next = 247 Q = 247 next = 248 Q = 248 next = 249 Q = 249 next = 250 Q = 250 next = 251 Q = 251 next = 252 Q = 252 next = 253 Q = 253 next = 254 Q = 254 next = 255 Q = 255 next = 256 Q = 256 next = 257 Q = 257 next = 258 Q = 258 next = 259 Q = 259 next = 260 Q = 260 next = 261 Q = 261 next = 262 Q = 262 next = 263 Q = 263 next = 264 Q = 264 next = 265 Q = 265 next = 266 Q = 266 next = 267 Q = 267 next = 268 Q = 268 next = 269 Q = 269 next = 270 Q = 270 next = 271 Q = 271 next = 272 Q = 272 next = 273 Q = 273 next = 274 Q = 274 next = 275 Q = 275 next = 276 Q = 276 next = 277 Q = 277 next = 278 Q = 278 next = 279 Q = 279 next = 280 Q = 280 next = 281 Q = 281 next = 282 Q = 282 next = 283 Q = 283 next = 284 Q = 284 next = 285 Q = 285 next = 286 Q = 286 next = 287 Q = 287 next = 288 Q = 288 next = 289 Q = 289 next = 290 Q = 290 next = 291 Q = 291 next = 292 Q = 292 next = 293 Q = 293 next = 294 Q = 294 next = 295 Q = 295 next = 296 Q = 296 next = 297 Q = 297 next = 298 Q = 298 next = 299 Q = 299 next = 300 Q = 300 next = 301 Q = 301 next = 302 Q = 302 next = 303 Q = 303 next = 304 Q = 304 next = 305 Q = 305 next = 306 Q = 306 next = 307 Q = 307 next = 308 Q = 308 next = 309 Q = 309 next = 310 Q = 310 next = 311 Q = 311 next = 312 Q = 312 next = 313 Q = 313 next = 314 Q = 314 next = 315 Q = 315 next = 316 Q = 316 next = 317 Q = 317 next = 318 Q = 318 next = 319 Q = 319 next = 320 Q = 320 next = 321 Q = 321 next = 322 Q = 322 next = 323 Q...

Assertion failed.

5   Fail
x = 14; y_correct = 134225920; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9 Q = 9 next = 10 Q = 10 next = 11 Q = 11 next = 12 Q = 12 next = 13 Q = 13 next = 14 Q = 14 next = 15 Q = 15 next = 16 Q = 16 next = 17 Q = 17 next = 18 Q = 18 next = 19 Q = 19 next = 20 Q = 20 next = 21 Q = 21 next = 22 Q = 22 next = 23 Q = 23 next = 24 Q = 24 next = 25 Q = 25 next = 26 Q = 26 next = 27 Q = 27 next = 28 Q = 28 next = 29 Q = 29 next = 30 Q = 30 next = 31 Q = 31 next = 32 Q = 32 next = 33 Q = 33 next = 34 Q = 34 next = 35 Q = 35 next = 36 Q = 36 next = 37 Q = 37 next = 38 Q = 38 next = 39 Q = 39 next = 40 Q = 40 next = 41 Q = 41 next = 42 Q = 42 next = 43 Q = 43 next = 44 Q = 44 next = 45 Q = 45 next = 46 Q = 46 next = 47 Q = 47 next = 48 Q = 48 next = 49 Q = 49 next = 50 Q = 50 next = 51 Q = 51 next = 52 Q = 52 next = 53 Q = 53 next = 54 Q = 54 next = 55 Q = 55 next = 56 Q = 56 next = 57 Q = 57 next = 58 Q = 58 next = 59 Q = 59 next = 60 Q = 60 next = 61 Q = 61 next = 62 Q = 62 next = 63 Q = 63 next = 64 Q = 64 next = 65 Q = 65 next = 66 Q = 66 next = 67 Q = 67 next = 68 Q = 68 next = 69 Q = 69 next = 70 Q = 70 next = 71 Q = 71 next = 72 Q = 72 next = 73 Q = 73 next = 74 Q = 74 next = 75 Q = 75 next = 76 Q = 76 next = 77 Q = 77 next = 78 Q = 78 next = 79 Q = 79 next = 80 Q = 80 next = 81 Q = 81 next = 82 Q = 82 next = 83 Q = 83 next = 84 Q = 84 next = 85 Q = 85 next = 86 Q = 86 next = 87 Q = 87 next = 88 Q = 88 next = 89 Q = 89 next = 90 Q = 90 next = 91 Q = 91 next = 92 Q = 92 next = 93 Q = 93 next = 94 Q = 94 next = 95 Q = 95 next = 96 Q = 96 next = 97 Q = 97 next = 98 Q = 98 next = 99 Q = 99 next = 100 Q = 100 next = 101 Q = 101 next = 102 Q = 102 next = 103 Q = 103 next = 104 Q = 104 next = 105 Q = 105 next = 106 Q = 106 next = 107 Q = 107 next = 108 Q = 108 next = 109 Q = 109 next = 110 Q = 110 next = 111 Q = 111 next = 112 Q = 112 next = 113 Q = 113 next = 114 Q = 114 next = 115 Q = 115 next = 116 Q = 116 next = 117 Q = 117 next = 118 Q = 118 next = 119 Q = 119 next = 120 Q = 120 next = 121 Q = 121 next = 122 Q = 122 next = 123 Q = 123 next = 124 Q = 124 next = 125 Q = 125 next = 126 Q = 126 next = 127 Q = 127 next = 128 Q = 128 next = 129 Q = 129 next = 130 Q = 130 next = 131 Q = 131 next = 132 Q = 132 next = 133 Q = 133 next = 134 Q = 134 next = 135 Q = 135 next = 136 Q = 136 next = 137 Q = 137 next = 138 Q = 138 next = 139 Q = 139 next = 140 Q = 140 next = 141 Q = 141 next = 142 Q = 142 next = 143 Q = 143 next = 144 Q = 144 next = 145 Q = 145 next = 146 Q = 146 next = 147 Q = 147 next = 148 Q = 148 next = 149 Q = 149 next = 150 Q = 150 next = 151 Q = 151 next = 152 Q = 152 next = 153 Q = 153 next = 154 Q = 154 next = 155 Q = 155 next = 156 Q = 156 next = 157 Q = 157 next = 158 Q = 158 next = 159 Q = 159 next = 160 Q = 160 next = 161 Q = 161 next = 162 Q = 162 next = 163 Q = 163 next = 164 Q = 164 next = 165 Q = 165 next = 166 Q = 166 next = 167 Q = 167 next = 168 Q = 168 next = 169 Q = 169 next = 170 Q = 170 next = 171 Q = 171 next = 172 Q = 172 next = 173 Q = 173 next = 174 Q = 174 next = 175 Q = 175 next = 176 Q = 176 next = 177 Q = 177 next = 178 Q = 178 next = 179 Q = 179 next = 180 Q = 180 next = 181 Q = 181 next = 182 Q = 182 next = 183 Q = 183 next = 184 Q = 184 next = 185 Q = 185 next = 186 Q = 186 next = 187 Q = 187 next = 188 Q = 188 next = 189 Q = 189 next = 190 Q = 190 next = 191 Q = 191 next = 192 Q = 192 next = 193 Q = 193 next = 194 Q = 194 next = 195 Q = 195 next = 196 Q = 196 next = 197 Q = 197 next = 198 Q = 198 next = 199 Q = 199 next = 200 Q = 200 next = 201 Q = 201 next = 202 Q = 202 next = 203 Q = 203 next = 204 Q = 204 next = 205 Q = 205 next = 206 Q = 206 next = 207 Q = 207 next = 208 Q = 208 next = 209 Q = 209 next = 210 Q = 210 next = 211 Q = 211 next = 212 Q = 212 next = 213 Q = 213 next = 214 Q = 214 next = 215 Q = 215 next = 216 Q = 216 next = 217 Q = 217 next = 218 Q = 218 next = 219 Q = 219 next = 220 Q = 220 next = 221 Q = 221 next = 222 Q = 222 next = 223 Q = 223 next = 224 Q = 224 next = 225 Q = 225 next = 226 Q = 226 next = 227 Q = 227 next = 228 Q = 228 next = 229 Q = 229 next = 230 Q = 230 next = 231 Q = 231 next = 232 Q = 232 next = 233 Q = 233 next = 234 Q = 234 next = 235 Q = 235 next = 236 Q = 236 next = 237 Q = 237 next = 238 Q = 238 next = 239 Q = 239 next = 240 Q = 240 next = 241 Q = 241 next = 242 Q = 242 next = 243 Q = 243 next = 244 Q = 244 next = 245 Q = 245 next = 246 Q = 246 next = 247 Q = 247 next = 248 Q = 248 next = 249 Q = 249 next = 250 Q = 250 next = 251 Q = 251 next = 252 Q = 252 next = 253 Q = 253 next = 254 Q = 254 next = 255 Q = 255 next = 256 Q = 256 next = 257 Q = 257 next = 258 Q = 258 next = 259 Q = 259 next = 260 Q = 260 next = 261 Q = 261 next = 262 Q = 262 next = 263 Q = 263 next = 264 Q = 264 next = 265 Q = 265 next = 266 Q = 266 next = 267 Q = 267 next = 268 Q = 268 next = 269 Q = 269 next = 270 Q = 270 next = 271 Q = 271 next = 272 Q = 272 next = 273 Q = 273 next = 274 Q = 274 next = 275 Q = 275 next = 276 Q = 276 next = 277 Q = 277 next = 278 Q = 278 next = 279 Q = 279 next = 280 Q = 280 next = 281 Q = 281 next = 282 Q = 282 next = 283 Q = 283 next = 284 Q = 284 next = 285 Q = 285 next = 286 Q = 286 next = 287 Q = 287 next = 288 Q = 288 next = 289 Q = 289 next = 290 Q = 290 next = 291 Q = 291 next = 292 Q = 292 next = 293 Q = 293 next = 294 Q = 294 next = 295 Q = 295 next = 296 Q = 296 next = 297 Q = 297 next = 298 Q = 298 next = 299 Q = 299 next = 300 Q = 300 next = 301 Q = 301 next = 302 Q = 302 next = 303 Q = 303 next = 304 Q = 304 next = 305 Q = 305 next = 306 Q = 306 next = 307 Q = 307 next = 308 Q = 308 next = 309 Q = 309 next = 310 Q = 310 next = 311 Q = 311 next = 312 Q = 312 next = 313 Q = 313 next = 314 Q = 314 next = 315 Q = 315 next = 316 Q = 316 next = 317 Q = 317 next = 318 Q = 318 next = 319 Q = 319 next = 320 Q = 320 next = 321 Q = 321 next = 322 Q = 322 next = 323 Q...

Assertion failed.

6   Fail
x = 17; y_correct = 8590000128; assert(isequal(sum_int(x),y_correct))

next = 1 Q = 1 next = 2 Q = 2 next = 3 Q = 3 next = 4 Q = 4 next = 5 Q = 5 next = 6 Q = 6 next = 7 Q = 7 next = 8 Q = 8 next = 9 Q = 9 next = 10 Q = 10 next = 11 Q = 11 next = 12 Q = 12 next = 13 Q = 13 next = 14 Q = 14 next = 15 Q = 15 next = 16 Q = 16 next = 17 Q = 17 next = 18 Q = 18 next = 19 Q = 19 next = 20 Q = 20 next = 21 Q = 21 next = 22 Q = 22 next = 23 Q = 23 next = 24 Q = 24 next = 25 Q = 25 next = 26 Q = 26 next = 27 Q = 27 next = 28 Q = 28 next = 29 Q = 29 next = 30 Q = 30 next = 31 Q = 31 next = 32 Q = 32 next = 33 Q = 33 next = 34 Q = 34 next = 35 Q = 35 next = 36 Q = 36 next = 37 Q = 37 next = 38 Q = 38 next = 39 Q = 39 next = 40 Q = 40 next = 41 Q = 41 next = 42 Q = 42 next = 43 Q = 43 next = 44 Q = 44 next = 45 Q = 45 next = 46 Q = 46 next = 47 Q = 47 next = 48 Q = 48 next = 49 Q = 49 next = 50 Q = 50 next = 51 Q = 51 next = 52 Q = 52 next = 53 Q = 53 next = 54 Q = 54 next = 55 Q = 55 next = 56 Q = 56 next = 57 Q = 57 next = 58 Q = 58 next = 59 Q = 59 next = 60 Q = 60 next = 61 Q = 61 next = 62 Q = 62 next = 63 Q = 63 next = 64 Q = 64 next = 65 Q = 65 next = 66 Q = 66 next = 67 Q = 67 next = 68 Q = 68 next = 69 Q = 69 next = 70 Q = 70 next = 71 Q = 71 next = 72 Q = 72 next = 73 Q = 73 next = 74 Q = 74 next = 75 Q = 75 next = 76 Q = 76 next = 77 Q = 77 next = 78 Q = 78 next = 79 Q = 79 next = 80 Q = 80 next = 81 Q = 81 next = 82 Q = 82 next = 83 Q = 83 next = 84 Q = 84 next = 85 Q = 85 next = 86 Q = 86 next = 87 Q = 87 next = 88 Q = 88 next = 89 Q = 89 next = 90 Q = 90 next = 91 Q = 91 next = 92 Q = 92 next = 93 Q = 93 next = 94 Q = 94 next = 95 Q = 95 next = 96 Q = 96 next = 97 Q = 97 next = 98 Q = 98 next = 99 Q = 99 next = 100 Q = 100 next = 101 Q = 101 next = 102 Q = 102 next = 103 Q = 103 next = 104 Q = 104 next = 105 Q = 105 next = 106 Q = 106 next = 107 Q = 107 next = 108 Q = 108 next = 109 Q = 109 next = 110 Q = 110 next = 111 Q = 111 next = 112 Q = 112 next = 113 Q = 113 next = 114 Q = 114 next = 115 Q = 115 next = 116 Q = 116 next = 117 Q = 117 next = 118 Q = 118 next = 119 Q = 119 next = 120 Q = 120 next = 121 Q = 121 next = 122 Q = 122 next = 123 Q = 123 next = 124 Q = 124 next = 125 Q = 125 next = 126 Q = 126 next = 127 Q = 127 next = 128 Q = 128 next = 129 Q = 129 next = 130 Q = 130 next = 131 Q = 131 next = 132 Q = 132 next = 133 Q = 133 next = 134 Q = 134 next = 135 Q = 135 next = 136 Q = 136 next = 137 Q = 137 next = 138 Q = 138 next = 139 Q = 139 next = 140 Q = 140 next = 141 Q = 141 next = 142 Q = 142 next = 143 Q = 143 next = 144 Q = 144 next = 145 Q = 145 next = 146 Q = 146 next = 147 Q = 147 next = 148 Q = 148 next = 149 Q = 149 next = 150 Q = 150 next = 151 Q = 151 next = 152 Q = 152 next = 153 Q = 153 next = 154 Q = 154 next = 155 Q = 155 next = 156 Q = 156 next = 157 Q = 157 next = 158 Q = 158 next = 159 Q = 159 next = 160 Q = 160 next = 161 Q = 161 next = 162 Q = 162 next = 163 Q = 163 next = 164 Q = 164 next = 165 Q = 165 next = 166 Q = 166 next = 167 Q = 167 next = 168 Q = 168 next = 169 Q = 169 next = 170 Q = 170 next = 171 Q = 171 next = 172 Q = 172 next = 173 Q = 173 next = 174 Q = 174 next = 175 Q = 175 next = 176 Q = 176 next = 177 Q = 177 next = 178 Q = 178 next = 179 Q = 179 next = 180 Q = 180 next = 181 Q = 181 next = 182 Q = 182 next = 183 Q = 183 next = 184 Q = 184 next = 185 Q = 185 next = 186 Q = 186 next = 187 Q = 187 next = 188 Q = 188 next = 189 Q = 189 next = 190 Q = 190 next = 191 Q = 191 next = 192 Q = 192 next = 193 Q = 193 next = 194 Q = 194 next = 195 Q = 195 next = 196 Q = 196 next = 197 Q = 197 next = 198 Q = 198 next = 199 Q = 199 next = 200 Q = 200 next = 201 Q = 201 next = 202 Q = 202 next = 203 Q = 203 next = 204 Q = 204 next = 205 Q = 205 next = 206 Q = 206 next = 207 Q = 207 next = 208 Q = 208 next = 209 Q = 209 next = 210 Q = 210 next = 211 Q = 211 next = 212 Q = 212 next = 213 Q = 213 next = 214 Q = 214 next = 215 Q = 215 next = 216 Q = 216 next = 217 Q = 217 next = 218 Q = 218 next = 219 Q = 219 next = 220 Q = 220 next = 221 Q = 221 next = 222 Q = 222 next = 223 Q = 223 next = 224 Q = 224 next = 225 Q = 225 next = 226 Q = 226 next = 227 Q = 227 next = 228 Q = 228 next = 229 Q = 229 next = 230 Q = 230 next = 231 Q = 231 next = 232 Q = 232 next = 233 Q = 233 next = 234 Q = 234 next = 235 Q = 235 next = 236 Q = 236 next = 237 Q = 237 next = 238 Q = 238 next = 239 Q = 239 next = 240 Q = 240 next = 241 Q = 241 next = 242 Q = 242 next = 243 Q = 243 next = 244 Q = 244 next = 245 Q = 245 next = 246 Q = 246 next = 247 Q = 247 next = 248 Q = 248 next = 249 Q = 249 next = 250 Q = 250 next = 251 Q = 251 next = 252 Q = 252 next = 253 Q = 253 next = 254 Q = 254 next = 255 Q = 255 next = 256 Q = 256 next = 257 Q = 257 next = 258 Q = 258 next = 259 Q = 259 next = 260 Q = 260 next = 261 Q = 261 next = 262 Q = 262 next = 263 Q = 263 next = 264 Q = 264 next = 265 Q = 265 next = 266 Q = 266 next = 267 Q = 267 next = 268 Q = 268 next = 269 Q = 269 next = 270 Q = 270 next = 271 Q = 271 next = 272 Q = 272 next = 273 Q = 273 next = 274 Q = 274 next = 275 Q = 275 next = 276 Q = 276 next = 277 Q = 277 next = 278 Q = 278 next = 279 Q = 279 next = 280 Q = 280 next = 281 Q = 281 next = 282 Q = 282 next = 283 Q = 283 next = 284 Q = 284 next = 285 Q = 285 next = 286 Q = 286 next = 287 Q = 287 next = 288 Q = 288 next = 289 Q = 289 next = 290 Q = 290 next = 291 Q = 291 next = 292 Q = 292 next = 293 Q = 293 next = 294 Q = 294 next = 295 Q = 295 next = 296 Q = 296 next = 297 Q = 297 next = 298 Q = 298 next = 299 Q = 299 next = 300 Q = 300 next = 301 Q = 301 next = 302 Q = 302 next = 303 Q = 303 next = 304 Q = 304 next = 305 Q = 305 next = 306 Q = 306 next = 307 Q = 307 next = 308 Q = 308 next = 309 Q = 309 next = 310 Q = 310 next = 311 Q = 311 next = 312 Q = 312 next = 313 Q = 313 next = 314 Q = 314 next = 315 Q = 315 next = 316 Q = 316 next = 317 Q = 317 next = 318 Q = 318 next = 319 Q = 319 next = 320 Q = 320 next = 321 Q = 321 next = 322 Q = 322 next = 323 Q...

Assertion failed.