Cody

Solution 1899200

Submitted on 13 Aug 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 = 1; y_correct = 0; assert(isequal(VanEcksSequence(x),y_correct))

y = 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test1 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

2   Fail
x = 2; y_correct = 0; assert(isequal(VanEcksSequence(x),y_correct))

y = 0 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test2 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

3   Fail
x = 4; y_correct = 0; assert(isequal(VanEcksSequence(x),y_correct))

y = 0 0 1 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test3 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

4   Fail
x = 6; y_correct = 0; assert(isequal(VanEcksSequence(x),y_correct))

y = 0 0 1 0 3 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test4 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

5   Fail
x = 11; y_correct = 0; assert(isequal(VanEcksSequence(x),y_correct))

y = 0 0 1 0 3 0 5 0 7 0 9

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test5 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

6   Fail
x = 50; y_correct = 3; assert(isequal(VanEcksSequence(x),y_correct))

y = Columns 1 through 29 0 0 1 0 3 0 5 0 7 0 9 0 11 0 13 0 15 0 17 0 19 0 21 0 23 0 25 0 27 Columns 30 through 50 0 29 0 31 0 33 0 35 0 37 0 39 0 41 0 43 0 45 0 47 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test6 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

7   Fail
x = 500; y_correct = 4; assert(isequal(VanEcksSequence(x),y_correct))

y = Columns 1 through 29 0 0 1 0 3 0 5 0 7 0 9 0 11 0 13 0 15 0 17 0 19 0 21 0 23 0 25 0 27 Columns 30 through 58 0 29 0 31 0 33 0 35 0 37 0 39 0 41 0 43 0 45 0 47 0 49 0 51 0 53 0 55 0 Columns 59 through 87 57 0 59 0 61 0 63 0 65 0 67 0 69 0 71 0 73 0 75 0 77 0 79 0 81 0 83 0 85 Columns 88 through 116 0 87 0 89 0 91 0 93 0 95 0 97 0 99 0 101 0 103 0 105 0 107 0 109 0 111 0 113 0 Columns 117 through 145 115 0 117 0 119 0 121 0 123 0 125 0 127 0 129 0 131 0 133 0 135 0 137 0 139 0 141 0 143 Columns 146 through 174 0 145 0 147 0 149 0 151 0 153 0 155 0 157 0 159 0 161 0 163 0 165 0 167 0 169 0 171 0 Columns 175 through 203 173 0 175 0 177 0 179 0 181 0 183 0 185 0 187 0 189 0 191 0 193 0 195 0 197 0 199 0 201 Columns 204 through 232 0 203 0 205 0 207 0 209 0 211 0 213 0 215 0 217 0 219 0 221 0 223 0 225 0 227 0 229 0 Columns 233 through 261 231 0 233 0 235 0 237 0 239 0 241 0 243 0 245 0 247 0 249 0 251 0 253 0 255 0 257 0 259 Columns 262 through 290 0 261 0 263 0 265 0 267 0 269 0 271 0 273 0 275 0 277 0 279 0 281 0 283 0 285 0 287 0 Columns 291 through 319 289 0 291 0 293 0 295 0 297 0 299 0 301 0 303 0 305 0 307 0 309 0 311 0 313 0 315 0 317 Columns 320 through 348 0 319 0 321 0 323 0 325 0 327 0 329 0 331 0 333 0 335 0 337 0 339 0 341 0 343 0 345 0 Columns 349 through 377 347 0 349 0 351 0 353 0 355 0 357 0 359 0 361 0 363 0 365 0 367 0 369 0 371 0 373 0 375 Columns 378 through 406 0 377 0 379 0 381 0 383 0 385 0 387 0 389 0 391 0 393 0 395 0 397 0 399 0 401 0 403 0 Columns 407 through 435 405 0 407 0 409 0 411 0 413 0 415 0 417 0 419 0 421 0 423 0 425 0 427 0 429 0 431 0 433 Columns 436 through 464 0 435 0 437 0 439 0 441 0 443 0 445 0 447 0 449 0 451 0 453 0 455 0 457 0 459 0 461 0 Columns 465 through 493 463 0 465 0 467 0 469 0 471 0 473 0 475 0 477 0 479 0 481 0 483 0 485 0 487 0 489 0 491 Columns 494 through 500 0 493 0 495 0 497 0

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test7 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

8   Fail
x = 5000; y_correct = 402; assert(isequal(VanEcksSequence(x),y_correct))

y = Columns 1 through 14 0 0 1 0 3 0 5 0 7 0 9 0 11 0 Columns 15 through 28 13 0 15 0 17 0 19 0 21 0 23 0 25 0 Columns 29 through 42 27 0 29 0 31 0 33 0 35 0 37 0 39 0 Columns 43 through 56 41 0 43 0 45 0 47 0 49 0 51 0 53 0 Columns 57 through 70 55 0 57 0 59 0 61 0 63 0 65 0 67 0 Columns 71 through 84 69 0 71 0 73 0 75 0 77 0 79 0 81 0 Columns 85 through 98 83 0 85 0 87 0 89 0 91 0 93 0 95 0 Columns 99 through 112 97 0 99 0 101 0 103 0 105 0 107 0 109 0 Columns 113 through 126 111 0 113 0 115 0 117 0 119 0 121 0 123 0 Columns 127 through 140 125 0 127 0 129 0 131 0 133 0 135 0 137 0 Columns 141 through 154 139 0 141 0 143 0 145 0 147 0 149 0 151 0 Columns 155 through 168 153 0 155 0 157 0 159 0 161 0 163 0 165 0 Columns 169 through 182 167 0 169 0 171 0 173 0 175 0 177 0 179 0 Columns 183 through 196 181 0 183 0 185 0 187 0 189 0 191 0 193 0 Columns 197 through 210 195 0 197 0 199 0 201 0 203 0 205 0 207 0 Columns 211 through 224 209 0 211 0 213 0 215 0 217 0 219 0 221 0 Columns 225 through 238 223 0 225 0 227 0 229 0 231 0 233 0 235 0 Columns 239 through 252 237 0 239 0 241 0 243 0 245 0 247 0 249 0 Columns 253 through 266 251 0 253 0 255 0 257 0 259 0 261 0 263 0 Columns 267 through 280 265 0 267 0 269 0 271 0 273 0 275 0 277 0 Columns 281 through 294 279 0 281 0 283 0 285 0 287 0 289 0 291 0 Columns 295 through 308 293 0 295 0 297 0 299 0 301 0 303 0 305 0 Columns 309 through 322 307 0 309 0 311 0 313 0 315 0 317 0 319 0 Columns 323 through 336 321 0 323 0 325 0 327 0 329 0 331 0 333 0 Columns 337 through 350 335 0 337 0 339 0 341 0 343 0 345 0 347 0 Columns 351 through 364 349 0 351 0 353 0 355 0 357 0 359 0 361 0 Columns 365 through 378 363 0 365 0 367 0 369 0 371 0 373 0 375 0 Columns 379 through 392 377 0 379 0 381 0 383 0 385 0 387 0 389 0 Columns 393 through 406 391 0 393 0 395 0 397 0 399 0 401 0 403 0 Columns 407 through 420 405 0 407 0 409 0 411 0 413 0 415 0 417 0 Columns 421 through 434 419 0 421 0 423 0 425 0 427 0 429 0 431 0 Columns 435 through 448 433 0 435 0 437 0 439 0 441 0 443 0 445 0 Columns 449 through 462 447 0 449 0 451 0 453 0 455 0 457 0 459 0 Columns 463 through 476 461 0 463 0 465 0 467 0 469 0 471 0 473 0 Columns 477 through 490 475 0 477 0 479 0 481 0 483 0 485 0 487 0 Columns 491 through 504 489 0 491 0 493 0 495 0 497 0 499 0 501 0 Columns 505 through 518 503 0 505 0 507 0 509 0 511 0 513 0 515 0 Columns 519 through 532 517 0 519 0 521 0 523 0 525 0 527 0 529 0 Columns 533 through 546 531 0 533 0 535 0 537 0 539 0 541 0 543 0 Columns 547 through 560 545 0 547 0 549 0 551 0 553 0 555 0 557 0 Columns 561 through 574 559 0 561 0 563 0 565 0 567 0 569 0 571 0 Columns 575 through 588 573 0 575 0 577 0 579 0 581 0 583 0 585 0 Columns 589 through 602 587 0 589 0 591 0 593 0 595 0 597 0 599 0 Columns 603 through 616 601 0 603 0 605 0 607 0 609 0 611 0 613 0 Columns 617 through 630 615 0 617 0 619 0 621 0 623 0 625 0 627 0 Columns 631 through 644 629 0 631 0 633 0 635 0 637 0 639 0 641 0 Columns 645 through 658 643 0 645 0 647 0 649 0 651 0 653 0 655 0 Columns 659 through 672 657 0 659 0 661 0 663 0 665 0 667 0 669 0 Columns 673 through 686 671 0 673 0 675 0 677 0 679 0 681 0 683 0 Columns 687 through 700 685 0 687 0 689 0 691 0 693 0 695 0 697 0 Columns 701 through 714 699 0 701 0 703 0 705 0 707 0 709 ...

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test8 (line 3) assert(isequal(VanEcksSequence(x),y_correct))

9   Fail
x = 50000; y_correct = 114; assert(isequal(VanEcksSequence(x),y_correct))

y = Columns 1 through 14 0 0 1 0 3 0 5 0 7 0 9 0 11 0 Columns 15 through 28 13 0 15 0 17 0 19 0 21 0 23 0 25 0 Columns 29 through 42 27 0 29 0 31 0 33 0 35 0 37 0 39 0 Columns 43 through 56 41 0 43 0 45 0 47 0 49 0 51 0 53 0 Columns 57 through 70 55 0 57 0 59 0 61 0 63 0 65 0 67 0 Columns 71 through 84 69 0 71 0 73 0 75 0 77 0 79 0 81 0 Columns 85 through 98 83 0 85 0 87 0 89 0 91 0 93 0 95 0 Columns 99 through 112 97 0 99 0 101 0 103 0 105 0 107 0 109 0 Columns 113 through 126 111 0 113 0 115 0 117 0 119 0 121 0 123 0 Columns 127 through 140 125 0 127 0 129 0 131 0 133 0 135 0 137 0 Columns 141 through 154 139 0 141 0 143 0 145 0 147 0 149 0 151 0 Columns 155 through 168 153 0 155 0 157 0 159 0 161 0 163 0 165 0 Columns 169 through 182 167 0 169 0 171 0 173 0 175 0 177 0 179 0 Columns 183 through 196 181 0 183 0 185 0 187 0 189 0 191 0 193 0 Columns 197 through 210 195 0 197 0 199 0 201 0 203 0 205 0 207 0 Columns 211 through 224 209 0 211 0 213 0 215 0 217 0 219 0 221 0 Columns 225 through 238 223 0 225 0 227 0 229 0 231 0 233 0 235 0 Columns 239 through 252 237 0 239 0 241 0 243 0 245 0 247 0 249 0 Columns 253 through 266 251 0 253 0 255 0 257 0 259 0 261 0 263 0 Columns 267 through 280 265 0 267 0 269 0 271 0 273 0 275 0 277 0 Columns 281 through 294 279 0 281 0 283 0 285 0 287 0 289 0 291 0 Columns 295 through 308 293 0 295 0 297 0 299 0 301 0 303 0 305 0 Columns 309 through 322 307 0 309 0 311 0 313 0 315 0 317 0 319 0 Columns 323 through 336 321 0 323 0 325 0 327 0 329 0 331 0 333 0 Columns 337 through 350 335 0 337 0 339 0 341 0 343 0 345 0 347 0 Columns 351 through 364 349 0 351 0 353 0 355 0 357 0 359 0 361 0 Columns 365 through 378 363 0 365 0 367 0 369 0 371 0 373 0 375 0 Columns 379 through 392 377 0 379 0 381 0 383 0 385 0 387 0 389 0 Columns 393 through 406 391 0 393 0 395 0 397 0 399 0 401 0 403 0 Columns 407 through 420 405 0 407 0 409 0 411 0 413 0 415 0 417 0 Columns 421 through 434 419 0 421 0 423 0 425 0 427 0 429 0 431 0 Columns 435 through 448 433 0 435 0 437 0 439 0 441 0 443 0 445 0 Columns 449 through 462 447 0 449 0 451 0 453 0 455 0 457 0 459 0 Columns 463 through 476 461 0 463 0 465 0 467 0 469 0 471 0 473 0 Columns 477 through 490 475 0 477 0 479 0 481 0 483 0 485 0 487 0 Columns 491 through 504 489 0 491 0 493 0 495 0 497 0 499 0 501 0 Columns 505 through 518 503 0 505 0 507 0 509 0 511 0 513 0 515 0 Columns 519 through 532 517 0 519 0 521 0 523 0 525 0 527 0 529 0 Columns 533 through 546 531 0 533 0 535 0 537 0 539 0 541 0 543 0 Columns 547 through 560 545 0 547 0 549 0 551 0 553 0 555 0 557 0 Columns 561 through 574 559 0 561 0 563 0 565 0 567 0 569 0 571 0 Columns 575 through 588 573 0 575 0 577 0 579 0 581 0 583 0 585 0 Columns 589 through 602 587 0 589 0 591 0 593 0 595 0 597 0 599 0 Columns 603 through 616 601 0 603 0 605 0 607 0 609 0 611 0 613 0 Columns 617 through 630 615 0 617 0 619 0 621 0 623 0 625 0 627 0 Columns 631 through 644 629 0 631 0 633 0 635 0 637 0 639 0 641 0 Columns 645 through 658 643 0 645 0 647 0 649 0 651 0 653 0 655 0 Columns 659 through 672 657 0 659 0 661 0 663 0 665 0 667 0 669 0 Columns 673 through 686 671 0 673 0 675 0 677 0 679 0 681 0 683 0 Columns 687 through 700 685 0 687 0 689 0 691 0 693 0 695 0 697 0 Columns 701 through 714 699 0 701 0 703 0 705 0 707 0 709 ...

Output argument "result" (and maybe others) not assigned during call to "VanEcksSequence". Error in Test9 (line 3) assert(isequal(VanEcksSequence(x),y_correct))