Cody

# Problem 42845. generate number in particular way

Solution 1586613

Submitted on 18 Jul 2018 by Ankith Rathod
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
a = [1 5 2 7]; m = 10; y_correct = [1 2 2 2 2 2 3 3 4 4]; assert(isequal(your_fcn_name(a,m),y_correct))

a = [1 5 2 7]; m = 10; y_correct = [1 2 2 2 2 2 3 3 4 4]; assert(isequal(your_fcn_name(a,m),y_correct)) y = 1 2 3 4 5 6 7 8 9 10 y = 1 2 3 4 5 6 7 8 9 10 k = 2 y = 1 2 3 4 5 6 7 8 9 10 k = 3 y = 1 2 2 4 5 6 7 8 9 10 k = 4 y = 1 2 2 2 5 6 7 8 9 10 k = 5 y = 1 2 2 2 2 6 7 8 9 10 k = 6 y = 1 2 2 2 2 2 7 8 9 10 k = 7 y = 1 2 2 2 2 2 3 8 9 10 k = 8 y = 1 2 2 2 2 2 3 3 9 10 k = 9 y = 1 2 2 2 2 2 3 3 4 10 k = 10 y = 1 2 2 2 2 2 3 3 4 4 k = 11 y = 1 2 2 2 2 2 3 3 4 4 4 k = 12 y = 1 2 2 2 2 2 3 3 4 4 4 4 k = 13 y = 1 2 2 2 2 2 3 3 4 4 4 4 4 k = 14 y = 1 2 2 2 2 2 3 3 4 4 4 4 4 4 k = 15 y = 1 2 2 2 2 2 3 3 4 4 4 4 4 4 4 k = 16 y = 1 2 2 2 2 2 3 3 4 4

2   Pass
a = [2 3 2 7 4 6]; m = 22; y_correct = [1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6]; assert(isequal(your_fcn_name(a,m),y_correct))

a = [2 3 2 7 4 6]; m = 22; y_correct = [1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6]; assert(isequal(your_fcn_name(a,m),y_correct)) y = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 y = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 2 y = 1 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 3 y = 1 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 4 y = 1 1 2 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 5 y = 1 1 2 2 2 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 6 y = 1 1 2 2 2 3 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 7 y = 1 1 2 2 2 3 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 8 y = 1 1 2 2 2 3 3 4 9 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 9 y = 1 1 2 2 2 3 3 4 4 10 11 12 13 14 15 16 17 18 19 20 21 22 k = 10 y = 1 1 2 2 2 3 3 4 4 4 11 12 13 14 15 16 17 18 19 20 21 22 k = 11 y = 1 1 2 2 2 3 3 4 4 4 4 12 13 14 15 16 17 18 19 20 21 22 k = 12 y = 1 1 2 2 2 3 3 4 4 4 4 4 13 14 15 16 17 18 19 20 21 22 k = 13 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 14 15 16 17 18 19 20 21 22 k = 14 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 15 16 17 18 19 20 21 22 k = 15 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 16 17 18 19 20 21 22 k = 16 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 17 18 19 20 21 22 k = 17 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 18 19 20 21 22 k = 18 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 19 20 21 22 k = 19 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 20 21 22 k = 20 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 21 22 k = 21 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 22 k = 22 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6 k = 23 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6 6 k = 24 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6 6 6 k = 25 y = 1 1 2 2 2 3 3 4 4 4 4 4 4 4 5 5 5 5 6 6 6 6

3   Pass
a = ones(1,100); m = 42; y_correct = 1:42; assert(isequal(your_fcn_name(a,m),y_correct))

a = ones(1,100); m = 42; y_correct = 1:42; assert(isequal(your_fcn_name(a,m),y_correct)) y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 2 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 3 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 4 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 5 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 6 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 7 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 8 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 9 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 10 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 11 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 12 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 13 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 14 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 15 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 16 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 17 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 18 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 19 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 20 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 21 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 22 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 23 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 24 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 25 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 26 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 27 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 28 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 29 y = Columns 1 through 30 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 30 Columns 31 through 42 31 32 33 34 35 36 37 38 39 40 41 42 k = 30 y = Columns 1 through 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...

4   Pass
a = [3 1 2 6 1]; m = 13; y_correct = [1 1 1 2 3 3 4 4 4 4 4 4 5]; assert(isequal(your_fcn_name(a,m),y_correct))

a = [3 1 2 6 1]; m = 13; y_correct = [1 1 1 2 3 3 4 4 4 4 4 4 5]; assert(isequal(your_fcn_name(a,m),y_correct)) y = 1 2 3 4 5 6 7 8 9 10 11 12 13 y = 1 2 3 4 5 6 7 8 9 10 11 12 13 k = 2 y = 1 1 3 4 5 6 7 8 9 10 11 12 13 k = 3 y = 1 1 1 4 5 6 7 8 9 10 11 12 13 k = 4 y = 1 1 1 2 5 6 7 8 9 10 11 12 13 k = 5 y = 1 1 1 2 3 6 7 8 9 10 11 12 13 k = 6 y = 1 1 1 2 3 3 7 8 9 10 11 12 13 k = 7 y = 1 1 1 2 3 3 4 8 9 10 11 12 13 k = 8 y = 1 1 1 2 3 3 4 4 9 10 11 12 13 k = 9 y = 1 1 1 2 3 3 4 4 4 10 11 12 13 k = 10 y = 1 1 1 2 3 3 4 4 4 4 11 12 13 k = 11 y = 1 1 1 2 3 3 4 4 4 4 4 12 13 k = 12 y = 1 1 1 2 3 3 4 4 4 4 4 4 13 k = 13 y = 1 1 1 2 3 3 4 4 4 4 4 4 5 k = 14 y = 1 1 1 2 3 3 4 4 4 4 4 4 5

5   Pass
a = 1:10; m = 20; y_correct = [1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6]; assert(isequal(your_fcn_name(a,m),y_correct))

a = 1:10; m = 20; y_correct = [1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6]; assert(isequal(your_fcn_name(a,m),y_correct)) y = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 y = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 2 y = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 3 y = 1 2 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 4 y = 1 2 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 5 y = 1 2 2 3 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 6 y = 1 2 2 3 3 3 7 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 7 y = 1 2 2 3 3 3 4 8 9 10 11 12 13 14 15 16 17 18 19 20 k = 8 y = 1 2 2 3 3 3 4 4 9 10 11 12 13 14 15 16 17 18 19 20 k = 9 y = 1 2 2 3 3 3 4 4 4 10 11 12 13 14 15 16 17 18 19 20 k = 10 y = 1 2 2 3 3 3 4 4 4 4 11 12 13 14 15 16 17 18 19 20 k = 11 y = 1 2 2 3 3 3 4 4 4 4 5 12 13 14 15 16 17 18 19 20 k = 12 y = 1 2 2 3 3 3 4 4 4 4 5 5 13 14 15 16 17 18 19 20 k = 13 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 14 15 16 17 18 19 20 k = 14 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 15 16 17 18 19 20 k = 15 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 16 17 18 19 20 k = 16 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 17 18 19 20 k = 17 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 18 19 20 k = 18 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 19 20 k = 19 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 20 k = 20 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 k = 21 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 k = 22 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 k = 23 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 k = 24 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 k = 25 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 k = 26 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 k = 27 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 k = 28 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 k = 29 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 k = 30 y = 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 k = 31 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Column 31 8 k = 32 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 32 8 8 k = 33 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 33 8 8 8 k = 34 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 34 8 8 8 8 k = 35 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 35 8 8 8 8 8 k = 36 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 36 8 8 8 8 8 8 k = 37 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 37 8 8 8 8 8 8 9 k = 38 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 38 8 8 8 8 8 8 9 9 k = 39 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 39 8 8 8 8 8 8 9 9 9 k = 40 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 40 8 8 8 8 8 8 9 9 9 9 k = 41 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 41 8 8 8 8 8 8 9 9 9 9 9 k = 42 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 42 8 8 8 8 8 8 9 9 9 9 9 9 k = 43 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 43 8 8 8 8 8 8 9 9 9 9 9 9 9 k = 44 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 44 8 8 8 8 8 8 9 9 9 9 9 9 9 9 k = 45 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 45 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 k = 46 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 46 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 k = 47 y = Columns 1 through 30 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 Columns 31 through 47 8 8 8 8 8 8 9 9 9 9 9 9 ...

6   Pass
a = [3 1 4 1 5 2]; m = 13; y_correct = [1 1 1 2 3 3 3 3 4 5 5 5 5]; assert(isequal(your_fcn_name(a,m),y_correct))

a = [3 1 4 1 5 2]; m = 13; y_correct = [1 1 1 2 3 3 3 3 4 5 5 5 5]; assert(isequal(your_fcn_name(a,m),y_correct)) y = 1 2 3 4 5 6 7 8 9 10 11 12 13 y = 1 2 3 4 5 6 7 8 9 10 11 12 13 k = 2 y = 1 1 3 4 5 6 7 8 9 10 11 12 13 k = 3 y = 1 1 1 4 5 6 7 8 9 10 11 12 13 k = 4 y = 1 1 1 2 5 6 7 8 9 10 11 12 13 k = 5 y = 1 1 1 2 3 6 7 8 9 10 11 12 13 k = 6 y = 1 1 1 2 3 3 7 8 9 10 11 12 13 k = 7 y = 1 1 1 2 3 3 3 8 9 10 11 12 13 k = 8 y = 1 1 1 2 3 3 3 3 9 10 11 12 13 k = 9 y = 1 1 1 2 3 3 3 3 4 10 11 12 13 k = 10 y = 1 1 1 2 3 3 3 3 4 5 11 12 13 k = 11 y = 1 1 1 2 3 3 3 3 4 5 5 12 13 k = 12 y = 1 1 1 2 3 3 3 3 4 5 5 5 13 k = 13 y = 1 1 1 2 3 3 3 3 4 5 5 5 5 k = 14 y = 1 1 1 2 3 3 3 3 4 5 5 5 5 5 k = 15 y = 1 1 1 2 3 3 3 3 4 5 5 5 5 5 6 k = 16 y = 1 1 1 2 3 3 3 3 4 5 5 5 5 5 6 6 k = 17 y = 1 1 1 2 3 3 3 3 4 5 5 5 5

### Community Treasure Hunt

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

Start Hunting!