Cody

Solution 2025039

Submitted on 17 Nov 2019 by Doan Quang Manh
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 = 2; A_correct = 2; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 2 2 a = 2 3 5 4 4 4 b = 2 3 5 6 6 6 c = 2 3 5 10 10 10 A = 2 2 2 2 2 2 a = 2 3 5 4 4 4 4 4 4 4 4 4 b = 2 3 5 6 6 6 6 6 6 6 6 6 c = 2 3 5 10 10 10 10 10 10 10 10 10 A = 2 2 2 2 2 2 2 2 2 a = 2 3 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 b = 2 3 5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 c = 2 3 5 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 A = 2 2 2 2 2 2 2 2 2 2 2 2 a = Columns 1 through 30 2 3 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Columns 31 through 33 4 4 4 b = Columns 1 through 30 2 3 5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 Columns 31 through 33 6 6 6 c = Columns 1 through 30 2 3 5 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 Columns 31 through 33 10 10 10 A = 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 A = 2

2   Pass
n = 3; A_correct = [2 3]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 2 3 2 3 a = 2 3 5 4 6 4 6 4 6 b = 2 3 5 6 9 6 9 6 9 c = 2 3 5 10 15 10 15 10 15 A = 2 3 2 3 2 3 2 3 2 3 2 3 a = 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 b = 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 c = 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 A = 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 a = Columns 1 through 30 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 Columns 31 through 39 6 4 6 4 6 4 6 4 6 b = Columns 1 through 30 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 Columns 31 through 39 9 6 9 6 9 6 9 6 9 c = Columns 1 through 30 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 Columns 31 through 39 15 10 15 10 15 10 15 10 15 A = 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 a = Columns 1 through 30 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 Columns 31 through 60 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 Columns 61 through 63 6 4 6 b = Columns 1 through 30 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 Columns 31 through 60 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 Columns 61 through 63 9 6 9 c = Columns 1 through 30 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 Columns 31 through 60 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 Columns 61 through 63 15 10 15 A = 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 A = 2 3

3   Pass
n = 4; A_correct = [2 3 4]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 2 3 2 3 a = 2 3 5 4 6 4 6 4 6 b = 2 3 5 6 9 6 9 6 9 c = 2 3 5 10 15 10 15 10 15 A = 2 3 2 3 2 3 2 3 4 4 4 2 3 2 3 a = 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 8 8 8 4 6 4 6 b = 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 12 12 12 6 9 6 9 c = 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 20 20 20 10 15 10 15 A = 2 3 2 3 2 3 2 3 4 4 4 2 3 2 3 2 3 4 4 4 4 4 4 4 4 4 2 3 2 3 a = Columns 1 through 30 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 8 8 8 4 6 4 6 4 6 4 6 4 6 Columns 31 through 54 4 6 8 8 8 4 6 4 6 4 6 8 8 8 8 8 8 8 8 8 4 6 4 6 b = Columns 1 through 30 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 12 12 12 6 9 6 9 6 9 6 9 6 9 Columns 31 through 54 6 9 12 12 12 6 9 6 9 6 9 12 12 12 12 12 12 12 12 12 6 9 6 9 c = Columns 1 through 30 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 20 20 20 10 15 10 15 10 15 10 15 10 15 Columns 31 through 54 10 15 20 20 20 10 15 10 15 10 15 20 20 20 20 20 20 20 20 20 10 15 10 15 A = Columns 1 through 30 2 3 2 3 2 3 2 3 4 4 4 2 3 2 3 2 3 4 4 4 4 4 4 4 4 4 2 3 2 3 Columns 31 through 54 2 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2 3 2 3 a = Columns 1 through 30 2 3 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 8 8 8 4 6 4 6 4 6 4 6 4 6 Columns 31 through 60 4 6 8 8 8 4 6 4 6 4 6 8 8 8 8 8 8 8 8 8 4 6 4 6 4 6 4 6 4 6 Columns 61 through 90 4 6 8 8 8 4 6 4 6 4 6 8 8 8 8 8 8 8 8 8 4 6 4 6 4 6 8 8 8 8 Columns 91 through 108 8 8 8 8 8 8 8 8 8 8 8 8 8 8 4 6 4 6 b = Columns 1 through 30 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 12 12 12 6 9 6 9 6 9 6 9 6 9 Columns 31 through 60 6 9 12 12 12 6 9 6 9 6 9 12 12 12 12 12 12 12 12 12 6 9 6 9 6 9 6 9 6 9 Columns 61 through 90 6 9 12 12 12 6 9 6 9 6 9 12 12 12 12 12 12 12 12 12 6 9 6 9 6 9 12 12 12 12 Columns 91 through 108 12 12 12 12 12 12 12 12 12 12 12 12 12 12 6 9 6 9 c = Columns 1 through 30 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 20 20 20 10 15 10 15 10 15 10 15 10 15 Columns 31 through 60 10 15 20 20 20 10 15 10 15 10 15 20 20 20 20 20 20 20 20 20 10 15 10 15 10 15 10 15 10 15 Columns 61 through 90 10 15 20 20 20 10 15 10 15 10 15 20 20 20 20 20 20 20 20 20 10 15 10 15 10 15 20 20 20 20 Columns 91 through 108 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 15 10 15 A = Columns 1 through 30 2 3 2 3 2 3 2 3 4 4 4 2 3 2 3 2 3 4 4 4 4 4 4 4 4 4 2 3 2 3 Columns 31 through 60 2 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2 3 2 3 2 3 4 4 4 4 Columns 61 through 90 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2 3 2 3 A = 2 3 4

4   Pass
n = 5; A_correct = [2 3 4 5]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 5 2 3 5 2 3 5 a = 2 3 5 4 6 10 4 6 10 4 6 10 b = 2 3 5 6 9 15 6 9 15 6 9 15 c = 2 3 5 10 15 25 10 15 25 10 15 25 A = 2 3 5 2 3 5 2 3 5 2 3 5 4 4 4 2 3 5 2 3 5 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 Columns 31 through 33 4 6 10 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 Columns 31 through 33 6 9 15 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 Columns 31 through 33 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 4 4 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 Columns 31 through 39 4 4 4 2 3 5 2 3 5 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 Columns 31 through 60 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 4 6 10 4 6 10 8 8 8 Columns 61 through 72 8 8 8 8 8 8 4 6 10 4 6 10 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 Columns 31 through 60 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 6 9 15 6 9 15 12 12 12 Columns 61 through 72 12 12 12 12 12 12 6 9 15 6 9 15 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 Columns 31 through 60 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 10 15 25 10 15 25 20 20 20 Columns 61 through 72 20 20 20 20 20 20 10 15 25 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 4 4 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 Columns 31 through 60 4 4 4 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Columns 61 through 66 2 3 5 2 3 5 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 Columns 31 through 60 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 4 6 10 4 6 10 8 8 8 Columns 61 through 90 8 8 8 8 8 8 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 4 6 10 Columns 91 through 120 4 6 10 4 6 10 8 8 8 8 8 8 8 8 8 4 6 10 4 6 10 4 6 10 8 8 8 8 8 8 Columns 121 through 138 8 8 8 8 8 8 8 8 8 8 8 8 4 6 10 4 6 10 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 Columns 31 through 60 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 6 9 15 6 9 15 12 12 12 Columns 61 through 90 12 12 12 12 12 12 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 Columns 91 through 120 6 9 15 6 9 15 12 12 12 12 12 12 12 12 12 6 9 15 6 9 15 6 9 15 12 12 12 12 12 12 Columns 121 through 138 12 12 12 12 12 12 12 12 12 12 12 12 6 9 15 6 9 15 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 Columns 31 through 60 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 10 15 25 10 15 25 20 20 20 Columns 61 through 90 20 20 20 20 20 20 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 20 20 10 15 25 Columns 91 through 120 10 15 25 10 15 25 20 20 20 20 20 20 20 20 20 10 15 25 10 15 25 10 15 25 20 20 20 20 20 20 Columns 121 through 138 20 20 20 20 20 20 20 20 20 20 20 20 10 15 25 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 4 4 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 Columns 31 through 60 4 4 4 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Columns 61 through 90 2 3 5 2 3 5 2 3 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Columns 91 through 105 4 4 4 4 4 4 4 4 4 2 3 5 2 3 5 A = 2 3 4 5

5   Pass
n = 10; A_correct = [2 3 4 5 6 8 9 10]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 5 2 3 5 2 3 5 a = 2 3 5 4 6 10 4 6 10 4 6 10 b = 2 3 5 6 9 15 6 9 15 6 9 15 c = 2 3 5 10 15 25 10 15 25 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 6 9 6 9 Columns 31 through 36 2 3 5 10 10 10 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 48 8 12 20 4 6 10 12 18 12 18 12 18 4 6 10 20 20 20 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 48 12 18 30 6 9 15 18 27 18 27 18 27 6 9 15 30 30 30 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 48 20 30 50 10 15 25 30 45 30 45 30 45 10 15 25 50 50 50 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 6 9 6 9 Columns 31 through 60 2 3 5 10 10 10 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 8 8 8 4 6 10 4 6 10 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 Columns 91 through 102 2 3 5 10 10 10 10 10 10 10 10 10 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 60 8 12 20 4 6 10 12 18 12 18 12 18 4 6 10 20 20 20 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 8 12 20 8 12 20 8 12 20 4 6 10 12 18 12 18 12 18 4 6 10 20 20 20 4 6 10 8 12 20 Columns 91 through 120 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 16 16 16 8 12 20 8 12 20 4 6 10 Columns 121 through 150 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 4 6 10 20 20 20 20 20 20 20 20 20 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 60 12 18 30 6 9 15 18 27 18 27 18 27 6 9 15 30 30 30 6 9 15 6 9 15 6 9 15 6 9 15 Columns 61 through 90 12 18 30 12 18 30 12 18 30 6 9 15 18 27 18 27 18 27 6 9 15 30 30 30 6 9 15 12 18 30 Columns 91 through 120 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 24 24 24 12 18 30 12 18 30 6 9 15 Columns 121 through 150 18 27 18 27 18 27 18 27 18 27 18 27 18 27 18 27 18 27 6 9 15 30 30 30 30 30 30 30 30 30 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 60 20 30 50 10 15 25 30 45 30 45 30 45 10 15 25 50 50 50 10 15 25 10 15 25 10 15 25 10 15 25 Columns 61 through 90 20 30 50 20 30 50 20 30 50 10 15 25 30 45 30 45 30 45 10 15 25 50 50 50 10 15 25 20 30 50 Columns 91 through 120 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 40 40 40 20 30 50 20 30 50 10 15 25 Columns 121 through 150 30 45 30 45 30 45 30 45 30 45 30 45 30 45 30 45 30 45 10 15 25 50 50 50 50 50 50 50 50 50 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 6 9 6 9 Columns 31 through 60 2 3 5 10 10 10 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 8 8 8 4 6 10 4 6 10 2 3 5 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 Columns 91 through 120 2 3 5 10 10 10 10 10 10 10 10 10 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 121 through 150 4 6 10 4 6 10 8 8 8 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 8 8 Columns 151 through 180 4 6 10 4 6 10 4 6 10 8 8 8 8 8 8 8 8 8 4 6 10 4 6 10 2 3 5 6 9 6 Columns 181 through 210 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 9 6 Columns 211 through 234 9 6 9 2 3 5 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 60 8 12 20 4 6 10 12 18 12 18 12 18 4 6 10 20 20 20 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 8 12 20 8 12 20 8 12 20 4 6 10 12 18 12 18 12 18 4 6 10 20 20 20 4 6 10 8 12 20 Columns 91 through 120 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 16 16 16 8 12 20 8 12 20 4 6 10 Columns 121 through 150 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 4 6 10 20 20 20 20 20 20 20 20 20 Columns 151 through 180 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 12 18 12 18 Columns 181 through 210 4 6 10 20 20 20 4 6 10 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 Columns 211 through 240 16 16 16 8 12 20 8 12 20 4 6 10 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 Columns 241 through 270 4 6 10 20 20 20 20 20 20 20 20 20 4 6 10 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 Columns 271 through 300 8 12 20 8 12 20 16 16 16 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 16 16 16 Columns 301 through 330 8 12 20 8 12 20 8 12 20 16 16 16 16 16 16 16 16 16 8 12 20 8 12 20 4 6 10 12 18 12 Columns 331 through 360 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 18 12 Columns 361 through 384 18 12 18 4 6 10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 1...

6   Pass
n = 17; A_correct = [2 3 4 5 6 8 9 10 12 15 16]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 5 2 3 5 2 3 5 a = 2 3 5 4 6 10 4 6 10 4 6 10 b = 2 3 5 6 9 15 6 9 15 6 9 15 c = 2 3 5 10 15 25 10 15 25 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 42 6 9 15 2 3 5 10 15 10 15 10 15 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 54 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 20 30 20 30 20 30 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 54 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 6 9 15 30 45 30 45 30 45 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 54 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 10 15 25 50 75 50 75 50 75 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 60 6 9 15 2 3 5 10 15 10 15 10 15 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 8 12 8 12 8 12 4 6 10 12 12 12 4 6 10 2 3 5 6 9 15 6 9 15 Columns 91 through 120 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 6 9 15 2 3 5 10 15 10 Columns 121 through 135 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 60 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 20 30 20 30 20 30 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 Columns 91 through 120 20 30 20 30 20 30 4 6 10 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 Columns 121 through 150 16 24 16 24 16 24 8 12 20 24 24 24 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 12 18 30 Columns 151 through 180 12 18 30 12 18 30 12 18 30 24 24 24 12 18 30 12 18 30 4 6 10 20 30 20 30 20 30 20 30 20 Columns 181 through 189 30 20 30 20 30 20 30 20 30 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 60 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 6 9 15 30 45 30 45 30 45 6 9 15 6 9 15 Columns 61 through 90 6 9 15 6 9 15 12 18 30 12 18 30 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 6 9 15 Columns 91 through 120 30 45 30 45 30 45 6 9 15 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 Columns 121 through 150 24 36 24 36 24 36 12 18 30 36 36 36 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 18 27 45 Columns 151 through 180 18 27 45 18 27 45 18 27 45 36 36 36 18 27 45 18 27 45 6 9 15 30 45 30 45 30 45 30 45 30 Columns 181 through 189 45 30 45 30 45 30 45 30 45 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 60 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 10 15 25 50 75 50 75 50 75 10 15 25 10 15 25 Columns 61 through 90 10 15 25 10 15 25 20 30 50 20 30 50 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 10 15 25 Columns 91 through 120 50 75 50 75 50 75 10 15 25 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 Columns 121 through 150 40 60 40 60 40 60 20 30 50 60 60 60 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 30 45 75 Columns 151 through 180 30 45 75 30 45 75 30 45 75 60 60 60 30 45 75 30 45 75 10 15 25 50 75 50 75 50 75 50 75 50 Columns 181 through 189 75 50 75 50 75 50 75 50 75 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 60 6 9 15 2 3 5 10 15 10 15 10 15 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 8 12 8 12 8 12 4 6 10 12 12 12 4 6 10 2 3 5 6 9 15 6 9 15 Columns 91 through 120 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 6 9 15 2 3 5 10 15 10 Columns 121 through 150 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 Columns 151 through 180 4 6 10 4 6 10 4 6 10 8 12 8 12 8 12 4 6 10 12 12 12 4 6 10 4 6 10 4 6 10 Columns 181 through 210 4 6 10 4 6 10 8 12 8 12 8 12 4 6 10 12 12 12 4 6 10 4 6 10 8 12 8 12 8 12 Columns 211 through 240 8 12 8 12 8 12 8 12 16 16 16 8 12 8 12 4 6 10 12 12 12 12 12 12 12 12 12 4 6 10 Columns 241 through 270 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 Columns 271 through 300 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 12 12 6 9 15 6 9 15 6 9 15 12 12 12 Columns 301 through 330 12 12 12 12 12 12 6 9 15 6 9 15 2 3 5 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 Columns 331 through 351 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 10 15 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 60 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 20 30 20 30 20 30 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 Columns 91 through 120 20 30 20 30 20 30 4 6 10 8 12 20 8 12 20 8 ...

7   Pass
n = 31; A_correct = [2 3 4 5 6 8 9 10 12 15 16 18 20 24 25 27 30]; assert(isequal(your_fcn_name(n),A_correct))

a = 2 3 5 b = 2 3 5 c = 2 3 5 A = 2 3 5 2 3 5 2 3 5 a = 2 3 5 4 6 10 4 6 10 4 6 10 b = 2 3 5 6 9 15 6 9 15 6 9 15 c = 2 3 5 10 15 25 10 15 25 10 15 25 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 45 6 9 15 2 3 5 10 15 25 10 15 25 10 15 25 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 57 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 20 30 50 20 30 50 20 30 50 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 57 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 6 9 15 30 45 75 30 45 75 30 45 75 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 57 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 10 15 25 50 75 125 50 75 125 50 75 125 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 60 6 9 15 2 3 5 10 15 25 10 15 25 10 15 25 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 Columns 91 through 120 4 6 10 20 30 20 30 20 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 Columns 121 through 150 6 9 15 12 18 30 12 18 30 12 18 30 6 9 15 18 27 18 27 18 27 6 9 15 30 30 30 2 3 5 Columns 151 through 180 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 20 30 20 30 10 15 25 Columns 181 through 186 30 30 30 10 15 25 a = Columns 1 through 30 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 Columns 31 through 60 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 6 10 20 30 50 20 30 50 20 30 50 4 6 10 Columns 61 through 90 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 Columns 91 through 120 4 6 10 20 30 50 20 30 50 20 30 50 4 6 10 8 12 20 8 12 20 8 12 20 8 12 20 8 12 20 Columns 121 through 150 8 12 20 8 12 20 16 24 40 16 24 40 16 24 40 8 12 20 24 36 60 24 36 60 24 36 60 8 12 20 Columns 151 through 180 40 60 40 60 40 60 4 6 10 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 Columns 181 through 210 24 36 60 24 36 60 24 36 60 12 18 30 36 54 36 54 36 54 12 18 30 60 60 60 4 6 10 20 30 50 Columns 211 through 240 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 40 60 40 60 40 60 20 30 50 60 60 60 Columns 241 through 243 20 30 50 b = Columns 1 through 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 Columns 31 through 60 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 6 9 15 30 45 75 30 45 75 30 45 75 6 9 15 Columns 61 through 90 6 9 15 6 9 15 6 9 15 12 18 30 12 18 30 12 18 30 6 9 15 18 27 45 18 27 45 18 27 45 Columns 91 through 120 6 9 15 30 45 75 30 45 75 30 45 75 6 9 15 12 18 30 12 18 30 12 18 30 12 18 30 12 18 30 Columns 121 through 150 12 18 30 12 18 30 24 36 60 24 36 60 24 36 60 12 18 30 36 54 90 36 54 90 36 54 90 12 18 30 Columns 151 through 180 60 90 60 90 60 90 6 9 15 18 27 45 18 27 45 18 27 45 18 27 45 18 27 45 18 27 45 18 27 45 Columns 181 through 210 36 54 90 36 54 90 36 54 90 18 27 45 54 81 54 81 54 81 18 27 45 90 90 90 6 9 15 30 45 75 Columns 211 through 240 30 45 75 30 45 75 30 45 75 30 45 75 30 45 75 30 45 75 60 90 60 90 60 90 30 45 75 90 90 90 Columns 241 through 243 30 45 75 c = Columns 1 through 30 2 3 5 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 Columns 31 through 60 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 10 15 25 50 75 125 50 75 125 50 75 125 10 15 25 Columns 61 through 90 10 15 25 10 15 25 10 15 25 20 30 50 20 30 50 20 30 50 10 15 25 30 45 75 30 45 75 30 45 75 Columns 91 through 120 10 15 25 50 75 125 50 75 125 50 75 125 10 15 25 20 30 50 20 30 50 20 30 50 20 30 50 20 30 50 Columns 121 through 150 20 30 50 20 30 50 40 60 100 40 60 100 40 60 100 20 30 50 60 90 150 60 90 150 60 90 150 20 30 50 Columns 151 through 180 100 150 100 150 100 150 10 15 25 30 45 75 30 45 75 30 45 75 30 45 75 30 45 75 30 45 75 30 45 75 Columns 181 through 210 60 90 150 60 90 150 60 90 150 30 45 75 90 135 90 135 90 135 30 45 75 150 150 150 10 15 25 50 75 125 Columns 211 through 240 50 75 125 50 75 125 50 75 125 50 75 125 50 75 125 50 75 125 100 150 100 150 100 150 50 75 125 150 150 150 Columns 241 through 243 50 75 125 A = Columns 1 through 30 2 3 5 2 3 5 2 3 5 2 3 5 4 6 10 4 6 10 4 6 10 2 3 5 6 9 15 6 9 15 Columns 31 through 60 6 9 15 2 3 5 10 15 25 10 15 25 10 15 25 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 Columns 61 through 90 4 6 10 4 6 10 4 6 10 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 Columns 91 through 120 4 6 10 20 30 20 30 20 30 2 3 5 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 6 9 15 Columns 121 through 150 6 9 15 12 18 30 12 18 30 12 18 30 6 9 15 18 27 18 27 18 27 6 9 15 30 30 30 2 3 5 Columns 151 through 180 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 10 15 25 20 30 20 30 20 30 10 15 25 Columns 181 through 210 30 30 30 10 15 25 2 3 5 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 4 6 10 Columns 211 through 240 8 12 20 8 12 20 8 12 20 4 6 10 12 18 30 12 18 30 12 18 30 4 ...