Cody

Problem 2577. Sum of series III

Solution 3806843

Submitted on 23 Nov 2020 by Andrea Caruso
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   Pass
n = 1; s_correct = 1; assert(isequal(sumOfSeriesIII(n),s_correct))

x = 0 s = 1 x = 1 x = 1

2   Pass
n = 2; s_correct = 28; assert(isequal(sumOfSeriesIII(n),s_correct))

x = 0 0 s = 1 x = 1 0 s = 28 x = 1 28 x = 1 28

3   Pass
n = 5; s_correct = 1225; assert(isequal(sumOfSeriesIII(n),s_correct))

x = 0 0 0 0 0 s = 1 x = 1 0 0 0 0 s = 28 x = 1 28 0 0 0 s = 153 x = 1 28 153 0 0 s = 496 x = 1 28 153 496 0 s = 1225 x = 1 28 153 496 1225 x = 1 28 153 496 1225

4   Pass
n = 10; s_correct = 19900; assert(isequal(sumOfSeriesIII(n),s_correct))

x = 0 0 0 0 0 0 0 0 0 0 s = 1 x = 1 0 0 0 0 0 0 0 0 0 s = 28 x = 1 28 0 0 0 0 0 0 0 0 s = 153 x = 1 28 153 0 0 0 0 0 0 0 s = 496 x = 1 28 153 496 0 0 0 0 0 0 s = 1225 x = 1 28 153 496 1225 0 0 0 0 0 s = 2556 x = 1 28 153 496 1225 2556 0 0 0 0 s = 4753 x = 1 28 153 496 1225 2556 4753 0 0 0 s = 8128 x = 1 28 153 496 1225 2556 4753 8128 0 0 s = 13041 x = 1 28 153 496 1225 2556 4753 8128 13041 0 s = 19900 x = 1 28 153 496 1225 2556 4753 8128 13041 19900 x = 1 28 153 496 1225 2556 4753 8128 13041 19900

5   Pass
n = 42; s_correct = 6221628; assert(isequal(sumOfSeriesIII(n),s_correct))

x = Columns 1 through 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 1 x = Columns 1 through 29 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 28 x = Columns 1 through 29 1 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 153 x = Columns 1 through 29 1 28 153 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 496 x = Columns 1 through 29 1 28 153 496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 1225 x = Columns 1 through 14 1 28 153 496 1225 0 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 2556 x = Columns 1 through 14 1 28 153 496 1225 2556 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 4753 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 8128 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 13041 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 19900 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 29161 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 41328 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 56953 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 76636 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 76636 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 101025 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 76636 Columns 15 through 28 101025 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 130816 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 76636 Columns 15 through 28 101025 130816 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 166753 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 76636 Columns 15 through 28 101025 130816 166753 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 209628 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 19900 29161 41328 56953 76636 Columns 15 through 28 101025 130816 166753 209628 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 ...

6   Pass
n = 99; s_correct = 192109401; assert(isequal(sumOfSeriesIII(n),s_correct))

x = Columns 1 through 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 99 0 0 0 0 0 0 0 0 0 0 0 0 s = 1 x = Columns 1 through 29 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 99 0 0 0 0 0 0 0 0 0 0 0 0 s = 28 x = Columns 1 through 29 1 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 99 0 0 0 0 0 0 0 0 0 0 0 0 s = 153 x = Columns 1 through 29 1 28 153 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 99 0 0 0 0 0 0 0 0 0 0 0 0 s = 496 x = Columns 1 through 29 1 28 153 496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 99 0 0 0 0 0 0 0 0 0 0 0 0 s = 1225 x = Columns 1 through 14 1 28 153 496 1225 0 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Column 99 0 s = 2556 x = Columns 1 through 14 1 28 153 496 1225 2556 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Column 99 0 s = 4753 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Column 99 0 s = 8128 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Column 99 0 s = 13041 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 13041 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 ...

7   Pass
n = 124; s_correct = 472827376; assert(isequal(sumOfSeriesIII(n),s_correct))

x = Columns 1 through 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 124 0 0 0 0 0 0 0 0 s = 1 x = Columns 1 through 29 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 124 0 0 0 0 0 0 0 0 s = 28 x = Columns 1 through 29 1 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 124 0 0 0 0 0 0 0 0 s = 153 x = Columns 1 through 29 1 28 153 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 124 0 0 0 0 0 0 0 0 s = 496 x = Columns 1 through 29 1 28 153 496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 124 0 0 0 0 0 0 0 0 s = 1225 x = Columns 1 through 14 1 28 153 496 1225 0 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 99 through 112 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 113 through 124 0 0 0 0 0 0 0 0 0 0 0 0 s = 2556 x = Columns 1 through 14 1 28 153 496 1225 2556 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 99 through 112 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 113 through 124 0 0 0 0 0 0 0 0 0 0 0 0 s = 4753 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 99 through 112 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 113 through 124 0 0 0 0 0 0 0 0 0 0 0 0 s = 8128 x = Columns 1 through 14 1 28 153 496 1225 2556 4753 8128 0 0 0 0 0 0 Columns 15 ...

8   Pass
n = 222; s_correct = 4857776028; assert(isequal(sumOfSeriesIII(n),s_correct))

x = Columns 1 through 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 145 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 146 through 174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 175 through 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 204 through 222 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 1 x = Columns 1 through 29 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 145 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 146 through 174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 175 through 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 204 through 222 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 28 x = Columns 1 through 29 1 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 145 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 146 through 174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 175 through 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 204 through 222 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 153 x = Columns 1 through 29 1 28 153 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 145 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 146 through 174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 175 through 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 204 through 222 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 496 x = Columns 1 through 29 1 28 153 496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 30 through 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 59 through 87 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 88 through 116 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 117 through 145 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 146 through 174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 175 through 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 204 through 222 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s = 1225 x = Columns 1 through 14 1 28 153 496 1225 0 0 0 0 0 0 0 0 0 Columns 15 through 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 29 through 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 43 through 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 57 through 70 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 71 through 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 85 through 98 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 99 through 112 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 113 through 126 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 127 through 140 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 141 through 154 0 0 0 0 0 0 0 0 0 0 ...

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!