Cody

# Problem 45296. Ugly numbers - 01

Solution 2111530

Submitted on 30 Jan 2020 by Asif Newaz
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; y_correct = 1; assert(isequal(ugly(n),y_correct))

a = 1

2   Pass
n = 20; y_correct = 36; assert(isequal(ugly(n),y_correct))

a = 1 a = 2 a = 3 a = 2 2 a = 5 a = 2 3 a = 7 a = 2 2 2 a = 3 3 a = 2 5 a = 11 a = 2 2 3 a = 13 a = 2 7 a = 3 5 a = 2 2 2 2 a = 17 a = 2 3 3 a = 19 a = 2 2 5 a = 3 7 a = 2 11 a = 23 a = 2 2 2 3 a = 5 5 a = 2 13 a = 3 3 3 a = 2 2 7 a = 29 a = 2 3 5 a = 31 a = 2 2 2 2 2 a = 3 11 a = 2 17 a = 5 7 a = 2 2 3 3

3   Pass
n = 200; y_correct = 16200; assert(isequal(ugly(n),y_correct))

a = 1 a = 2 a = 3 a = 2 2 a = 5 a = 2 3 a = 7 a = 2 2 2 a = 3 3 a = 2 5 a = 11 a = 2 2 3 a = 13 a = 2 7 a = 3 5 a = 2 2 2 2 a = 17 a = 2 3 3 a = 19 a = 2 2 5 a = 3 7 a = 2 11 a = 23 a = 2 2 2 3 a = 5 5 a = 2 13 a = 3 3 3 a = 2 2 7 a = 29 a = 2 3 5 a = 31 a = 2 2 2 2 2 a = 3 11 a = 2 17 a = 5 7 a = 2 2 3 3 a = 37 a = 2 19 a = 3 13 a = 2 2 2 5 a = 41 a = 2 3 7 a = 43 a = 2 2 11 a = 3 3 5 a = 2 23 a = 47 a = 2 2 2 2 3 a = 7 7 a = 2 5 5 a = 3 17 a = 2 2 13 a = 53 a = 2 3 3 3 a = 5 11 a = 2 2 2 7 a = 3 19 a = 2 29 a = 59 a = 2 2 3 5 a = 61 a = 2 31 a = 3 3 7 a = 2 2 2 2 2 2 a = 5 13 a = 2 3 11 a = 67 a = 2 2 17 a = 3 23 a = 2 5 7 a = 71 a = 2 2 2 3 3 a = 73 a = 2 37 a = 3 5 5 a = 2 2 19 a = 7 11 a = 2 3 13 a = 79 a = 2 2 2 2 5 a = 3 3 3 3 a = 2 41 a = 83 a = 2 2 3 7 a = 5 17 a = 2 43 a = 3 29 a = 2 2 2 11 a = 89 a = 2 3 3 5 a = 7 13 a = 2 2 23 a = 3 31 a = 2 47 a = 5 19 a = 2 2 2 2 2 3 a = 97 a = 2 7 7 a = 3 3 11 a = 2 2 5 5 a = 101 a = 2 3 17 a = 103 a = 2 2 2 13 a = 3 5 7 a = 2 53 a = 107 a = 2 2 3 3 3 a = 109 a = 2 5 11 a = 3 37 a = 2 2 2 2 7 a = 113 a = 2 3 19 a = 5 23 a = 2 2 29 a = 3 3 13 a = 2 59 a = 7 17 a = 2 2 2 3 5 a = 11 11 a = 2 61 a = 3 41 a = 2 2 31 a = 5 5 5 a = 2 3 3 7 a = 127 a = 2 2 2 2 2 2 2 a = 3 43 a = 2 5 13 a = 131 a = 2 2 3 11 a = 7 19 a = 2 67 a = 3 3 3 5 a = 2 2 2 17 a = 137 a = 2 3 23 a = 139 a = 2 2 5 7 a = 3 47 a = 2 71 a = 11 13 a = 2 2 2 2 3 3 a = 5 29 a = 2 73 a = 3 7 7 a = 2 2 37 a = 149 a = 2 3 5 5 a = 151 a = 2 2 2 19 a = 3 3 17 a = 2 7 11 a = 5 31 a = 2 2 3 13 a = 157 a = 2 79 a = 3 53 a = 2 2 2 2 2 5 a = 7 23 a = 2 3 3 3 3 a = 163 a = 2 2 41 a = 3 5 11 a = 2 83 a = 167 a = 2 2 2 3 7 a = 13 13 a = 2 5 17 a = 3 3 19 a = 2 2 43 a = 173 a = 2 3 29 a = 5 5 7 a = 2 2 2 2 11 a = 3 59 a = 2 89 a = 179 a = 2 2 3 3 5 a = 181 a = 2 7 13 a = 3 61 a = 2 2 2 23 a = 5 37 a = 2 3 31 a = 11 17 a = 2 2 47 a = 3 3 3 7 a = 2 5 19 a = 191 a = 2 2 2 2 2 2 3 a = 193 a = 2 97 a = 3 5 13 a = 2 2 7 7 a = 197 a = 2 3 3 11 a = 199 a = 2 2 2 5 5 a = 3 67 a = 2 101 a = 7 29 a = 2 2 3 17 a = 5 41 a = 2 103 a = 3 3 23 a = 2 2 2 2 13 a = 11 19 a = 2 3 5 7 a = 211 a = 2 2 53 a = 3 71 a = 2 107 a = 5 43 a = 2 2 2 3 3 3 a = 7 31 a = 2 109 a = 3 73 a = 2 2 5 11 a = 13 17 a = 2 3 37 a = 223 a = 2 2 2 2 2 7 a = 3 3 5 5 a = 2 113 a = 227 a = 2 2 3 19 a = 229 a = 2 5 23 a = 3 7 11 a = 2 2 2 29 a = 233 a = 2 3 3 13 a = 5 47 a = 2 2 59 a = 3 79 a = 2 7 17 a = 239 a = 2 2 2 2 3 5 a = 241 a = 2 11 11 a = 3 3 3 3 3 a = 2 2 61 a = 5 7 7 a = 2 3 41 a = 13 19 a = 2 2 2 31 a = 3 83 a = 2 5 5 5 a = 251 a = 2 2 3 3 7 a = 11 23 a = 2 127 a = 3 5 17 a = 2 2 2 2 2 2 2 2 a = 257 a = 2 3 43 a = 7 37 a = 2 2 5 13 a = 3 3 29 a = 2 131 a = 263 a = 2 2 2 3 11 a = 5 53 a = 2 7 19 a = 3 89 a = 2 2 67 a = 269 a = 2 3 3 3 5 a = 271 a = 2 2 2 2 17 a = 3 7 13 a = 2 137 a = 5 5 11 a = 2 2 3 23 a = 277 a = 2 139 a = 3 3 31 a = 2 2 2 5 7 a = 281 a = 2 3 47 a = 283 a = 2 2 71 a = 3 5 19 a = 2 11 13 a = 7 41 a = 2 2 2 2 2 3 3 a = 17 17 a = 2 5 29 a = 3 97 a = 2 2 73 a = 293 a = 2 3 7 7 a = 5 59 a = 2 2 2 37 a = 3 3 3 11 a = 2 149 a = 13 23 a = 2 2 3 5 5 a = 7 43 a = 2 151 a = 3 101 a = 2 2 2 2 19 a = 5 61 a = 2 3 3 17 a = 307 a = 2 2 7 11 a = 3 103 a = 2 5 31 a = 311 a = 2 2 2 3 13 a = 313 a = 2 157 a = 3 3 5 7 a = 2 2 79 a = 317 a = 2 3 53 a = 11 29 a = 2 2 2 2 2 2 5 a = 3 107 a = 2 7 23 a = 17 19 a = 2 2 3 3 3 3 a = 5 5 13 a = 2 163 a = 3 109 a = 2 2 2 41 a = 7 47 a = 2 3 5 11 a = 331 a = 2 2 83 a = 3 3 37 a = 2 167 a = 5 67 a = 2 2 2 2 3 7 a = 337 a = 2 13 13 a = 3 113 a = 2 2 5 17 a = 11 31 a = 2 3 3 19 a = 7 7 7 a = 2 2 2 43 a = 3 5 23 a = 2 173 a = 347 a = 2 2 3 29 a = 349 a = 2 5 5 7 a = 3 3 3 13 a = 2 2 2 2 2 11 a = 353 a = 2 3 59 a = 5 71 a = 2 2 89 a = 3 7 17 a = 2 179 a = 359 a = 2 2 2 3 3 5 a = 19 19 a = 2 181 a = 3 11 11 a = 2 2 7 13 a = 5 73 a = 2 3 61 a = 367 a = 2 2 2 2 23 a = 3 3 41 a = 2 5 37 a = 7 53 a = 2 2 3 31 a = 373 a = 2 11 17 a = 3 5 5 5 a = 2 2 2 47 a = 13 29 a = 2 3 3 3 7 a = 379 a = 2 2 5 19 a = 3 127 a = 2 191 a = 383 a = 2 2 2 2 2 2 2 3 a = 5 7 11 a = 2 193 a = 3 3 43 a = 2 2 97 a = 389 a = 2 3 5 13 a = 17 23 a = 2 2 2 7 7 a = 3 131 a = 2 197 a = 5 79 a = 2 2 3 3 11 a = 397 a = 2 199 a = 3 7 19 a = 2 2 2 2 5 5 a = 401 a = 2 3 67 a = 13 31 a = 2 2 101 a = 3 3 3 3 5 a = 2 7 29 a = 11 37 a = 2 2 2 3 17 a = 409 a = 2 5 41 a = 3 137 a = 2 ...

4   Pass
n = 100; y_correct = 1536; assert(isequal(ugly(n),y_correct))

a = 1 a = 2 a = 3 a = 2 2 a = 5 a = 2 3 a = 7 a = 2 2 2 a = 3 3 a = 2 5 a = 11 a = 2 2 3 a = 13 a = 2 7 a = 3 5 a = 2 2 2 2 a = 17 a = 2 3 3 a = 19 a = 2 2 5 a = 3 7 a = 2 11 a = 23 a = 2 2 2 3 a = 5 5 a = 2 13 a = 3 3 3 a = 2 2 7 a = 29 a = 2 3 5 a = 31 a = 2 2 2 2 2 a = 3 11 a = 2 17 a = 5 7 a = 2 2 3 3 a = 37 a = 2 19 a = 3 13 a = 2 2 2 5 a = 41 a = 2 3 7 a = 43 a = 2 2 11 a = 3 3 5 a = 2 23 a = 47 a = 2 2 2 2 3 a = 7 7 a = 2 5 5 a = 3 17 a = 2 2 13 a = 53 a = 2 3 3 3 a = 5 11 a = 2 2 2 7 a = 3 19 a = 2 29 a = 59 a = 2 2 3 5 a = 61 a = 2 31 a = 3 3 7 a = 2 2 2 2 2 2 a = 5 13 a = 2 3 11 a = 67 a = 2 2 17 a = 3 23 a = 2 5 7 a = 71 a = 2 2 2 3 3 a = 73 a = 2 37 a = 3 5 5 a = 2 2 19 a = 7 11 a = 2 3 13 a = 79 a = 2 2 2 2 5 a = 3 3 3 3 a = 2 41 a = 83 a = 2 2 3 7 a = 5 17 a = 2 43 a = 3 29 a = 2 2 2 11 a = 89 a = 2 3 3 5 a = 7 13 a = 2 2 23 a = 3 31 a = 2 47 a = 5 19 a = 2 2 2 2 2 3 a = 97 a = 2 7 7 a = 3 3 11 a = 2 2 5 5 a = 101 a = 2 3 17 a = 103 a = 2 2 2 13 a = 3 5 7 a = 2 53 a = 107 a = 2 2 3 3 3 a = 109 a = 2 5 11 a = 3 37 a = 2 2 2 2 7 a = 113 a = 2 3 19 a = 5 23 a = 2 2 29 a = 3 3 13 a = 2 59 a = 7 17 a = 2 2 2 3 5 a = 11 11 a = 2 61 a = 3 41 a = 2 2 31 a = 5 5 5 a = 2 3 3 7 a = 127 a = 2 2 2 2 2 2 2 a = 3 43 a = 2 5 13 a = 131 a = 2 2 3 11 a = 7 19 a = 2 67 a = 3 3 3 5 a = 2 2 2 17 a = 137 a = 2 3 23 a = 139 a = 2 2 5 7 a = 3 47 a = 2 71 a = 11 13 a = 2 2 2 2 3 3 a = 5 29 a = 2 73 a = 3 7 7 a = 2 2 37 a = 149 a = 2 3 5 5 a = 151 a = 2 2 2 19 a = 3 3 17 a = 2 7 11 a = 5 31 a = 2 2 3 13 a = 157 a = 2 79 a = 3 53 a = 2 2 2 2 2 5 a = 7 23 a = 2 3 3 3 3 a = 163 a = 2 2 41 a = 3 5 11 a = 2 83 a = 167 a = 2 2 2 3 7 a = 13 13 a = 2 5 17 a = 3 3 19 a = 2 2 43 a = 173 a = 2 3 29 a = 5 5 7 a = 2 2 2 2 11 a = 3 59 a = 2 89 a = 179 a = 2 2 3 3 5 a = 181 a = 2 7 13 a = 3 61 a = 2 2 2 23 a = 5 37 a = 2 3 31 a = 11 17 a = 2 2 47 a = 3 3 3 7 a = 2 5 19 a = 191 a = 2 2 2 2 2 2 3 a = 193 a = 2 97 a = 3 5 13 a = 2 2 7 7 a = 197 a = 2 3 3 11 a = 199 a = 2 2 2 5 5 a = 3 67 a = 2 101 a = 7 29 a = 2 2 3 17 a = 5 41 a = 2 103 a = 3 3 23 a = 2 2 2 2 13 a = 11 19 a = 2 3 5 7 a = 211 a = 2 2 53 a = 3 71 a = 2 107 a = 5 43 a = 2 2 2 3 3 3 a = 7 31 a = 2 109 a = 3 73 a = 2 2 5 11 a = 13 17 a = 2 3 37 a = 223 a = 2 2 2 2 2 7 a = 3 3 5 5 a = 2 113 a = 227 a = 2 2 3 19 a = 229 a = 2 5 23 a = 3 7 11 a = 2 2 2 29 a = 233 a = 2 3 3 13 a = 5 47 a = 2 2 59 a = 3 79 a = 2 7 17 a = 239 a = 2 2 2 2 3 5 a = 241 a = 2 11 11 a = 3 3 3 3 3 a = 2 2 61 a = 5 7 7 a = 2 3 41 a = 13 19 a = 2 2 2 31 a = 3 83 a = 2 5 5 5 a = 251 a = 2 2 3 3 7 a = 11 23 a = 2 127 a = 3 5 17 a = 2 2 2 2 2 2 2 2 a = 257 a = 2 3 43 a = 7 37 a = 2 2 5 13 a = 3 3 29 a = 2 131 a = 263 a = 2 2 2 3 11 a = 5 53 a = 2 7 19 a = 3 89 a = 2 2 67 a = 269 a = 2 3 3 3 5 a = 271 a = 2 2 2 2 17 a = 3 7 13 a = 2 137 a = 5 5 11 a = 2 2 3 23 a = 277 a = 2 139 a = 3 3 31 a = 2 2 2 5 7 a = 281 a = 2 3 47 a = 283 a = 2 2 71 a = 3 5 19 a = 2 11 13 a = 7 41 a = 2 2 2 2 2 3 3 a = 17 17 a = 2 5 29 a = 3 97 a = 2 2 73 a = 293 a = 2 3 7 7 a = 5 59 a = 2 2 2 37 a = 3 3 3 11 a = 2 149 a = 13 23 a = 2 2 3 5 5 a = 7 43 a = 2 151 a = 3 101 a = 2 2 2 2 19 a = 5 61 a = 2 3 3 17 a = 307 a = 2 2 7 11 a = 3 103 a = 2 5 31 a = 311 a = 2 2 2 3 13 a = 313 a = 2 157 a = 3 3 5 7 a = 2 2 79 a = 317 a = 2 3 53 a = 11 29 a = 2 2 2 2 2 2 5 a = 3 107 a = 2 7 23 a = 17 19 a = 2 2 3 3 3 3 a = 5 5 13 a = 2 163 a = 3 109 a = 2 2 2 41 a = 7 47 a = 2 3 5 11 a = 331 a = 2 2 83 a = 3 3 37 a = 2 167 a = 5 67 a = 2 2 2 2 3 7 a = 337 a = 2 13 13 a = 3 113 a = 2 2 5 17 a = 11 31 a = 2 3 3 19 a = 7 7 7 a = 2 2 2 43 a = 3 5 23 a = 2 173 a = 347 a = 2 2 3 29 a = 349 a = 2 5 5 7 a = 3 3 3 13 a = 2 2 2 2 2 11 a = 353 a = 2 3 59 a = 5 71 a = 2 2 89 a = 3 7 17 a = 2 179 a = 359 a = 2 2 2 3 3 5 a = 19 19 a = 2 181 a = 3 11 11 a = 2 2 7 13 a = 5 73 a = 2 3 61 a = 367 a = 2 2 2 2 23 a = 3 3 41 a = 2 5 37 a = 7 53 a = 2 2 3 31 a = 373 a = 2 11 17 a = 3 5 5 5 a = 2 2 2 47 a = 13 29 a = 2 3 3 3 7 a = 379 a = 2 2 5 19 a = 3 127 a = 2 191 a = 383 a = 2 2 2 2 2 2 2 3 a = 5 7 11 a = 2 193 a = 3 3 43 a = 2 2 97 a = 389 a = 2 3 5 13 a = 17 23 a = 2 2 2 7 7 a = 3 131 a = 2 197 a = 5 79 a = 2 2 3 3 11 a = 397 a = 2 199 a = 3 7 19 a = 2 2 2 2 5 5 a = 401 a = 2 3 67 a = 13 31 a = 2 2 101 a = 3 3 3 3 5 a = 2 7 29 a = 11 37 a = 2 2 2 3 17 a = 409 a = 2 5 41 a = 3 137 a = 2 ...

5   Pass
n = 250; y_correct = 38880; assert(isequal(ugly(n),y_correct))

a = 1 a = 2 a = 3 a = 2 2 a = 5 a = 2 3 a = 7 a = 2 2 2 a = 3 3 a = 2 5 a = 11 a = 2 2 3 a = 13 a = 2 7 a = 3 5 a = 2 2 2 2 a = 17 a = 2 3 3 a = 19 a = 2 2 5 a = 3 7 a = 2 11 a = 23 a = 2 2 2 3 a = 5 5 a = 2 13 a = 3 3 3 a = 2 2 7 a = 29 a = 2 3 5 a = 31 a = 2 2 2 2 2 a = 3 11 a = 2 17 a = 5 7 a = 2 2 3 3 a = 37 a = 2 19 a = 3 13 a = 2 2 2 5 a = 41 a = 2 3 7 a = 43 a = 2 2 11 a = 3 3 5 a = 2 23 a = 47 a = 2 2 2 2 3 a = 7 7 a = 2 5 5 a = 3 17 a = 2 2 13 a = 53 a = 2 3 3 3 a = 5 11 a = 2 2 2 7 a = 3 19 a = 2 29 a = 59 a = 2 2 3 5 a = 61 a = 2 31 a = 3 3 7 a = 2 2 2 2 2 2 a = 5 13 a = 2 3 11 a = 67 a = 2 2 17 a = 3 23 a = 2 5 7 a = 71 a = 2 2 2 3 3 a = 73 a = 2 37 a = 3 5 5 a = 2 2 19 a = 7 11 a = 2 3 13 a = 79 a = 2 2 2 2 5 a = 3 3 3 3 a = 2 41 a = 83 a = 2 2 3 7 a = 5 17 a = 2 43 a = 3 29 a = 2 2 2 11 a = 89 a = 2 3 3 5 a = 7 13 a = 2 2 23 a = 3 31 a = 2 47 a = 5 19 a = 2 2 2 2 2 3 a = 97 a = 2 7 7 a = 3 3 11 a = 2 2 5 5 a = 101 a = 2 3 17 a = 103 a = 2 2 2 13 a = 3 5 7 a = 2 53 a = 107 a = 2 2 3 3 3 a = 109 a = 2 5 11 a = 3 37 a = 2 2 2 2 7 a = 113 a = 2 3 19 a = 5 23 a = 2 2 29 a = 3 3 13 a = 2 59 a = 7 17 a = 2 2 2 3 5 a = 11 11 a = 2 61 a = 3 41 a = 2 2 31 a = 5 5 5 a = 2 3 3 7 a = 127 a = 2 2 2 2 2 2 2 a = 3 43 a = 2 5 13 a = 131 a = 2 2 3 11 a = 7 19 a = 2 67 a = 3 3 3 5 a = 2 2 2 17 a = 137 a = 2 3 23 a = 139 a = 2 2 5 7 a = 3 47 a = 2 71 a = 11 13 a = 2 2 2 2 3 3 a = 5 29 a = 2 73 a = 3 7 7 a = 2 2 37 a = 149 a = 2 3 5 5 a = 151 a = 2 2 2 19 a = 3 3 17 a = 2 7 11 a = 5 31 a = 2 2 3 13 a = 157 a = 2 79 a = 3 53 a = 2 2 2 2 2 5 a = 7 23 a = 2 3 3 3 3 a = 163 a = 2 2 41 a = 3 5 11 a = 2 83 a = 167 a = 2 2 2 3 7 a = 13 13 a = 2 5 17 a = 3 3 19 a = 2 2 43 a = 173 a = 2 3 29 a = 5 5 7 a = 2 2 2 2 11 a = 3 59 a = 2 89 a = 179 a = 2 2 3 3 5 a = 181 a = 2 7 13 a = 3 61 a = 2 2 2 23 a = 5 37 a = 2 3 31 a = 11 17 a = 2 2 47 a = 3 3 3 7 a = 2 5 19 a = 191 a = 2 2 2 2 2 2 3 a = 193 a = 2 97 a = 3 5 13 a = 2 2 7 7 a = 197 a = 2 3 3 11 a = 199 a = 2 2 2 5 5 a = 3 67 a = 2 101 a = 7 29 a = 2 2 3 17 a = 5 41 a = 2 103 a = 3 3 23 a = 2 2 2 2 13 a = 11 19 a = 2 3 5 7 a = 211 a = 2 2 53 a = 3 71 a = 2 107 a = 5 43 a = 2 2 2 3 3 3 a = 7 31 a = 2 109 a = 3 73 a = 2 2 5 11 a = 13 17 a = 2 3 37 a = 223 a = 2 2 2 2 2 7 a = 3 3 5 5 a = 2 113 a = 227 a = 2 2 3 19 a = 229 a = 2 5 23 a = 3 7 11 a = 2 2 2 29 a = 233 a = 2 3 3 13 a = 5 47 a = 2 2 59 a = 3 79 a = 2 7 17 a = 239 a = 2 2 2 2 3 5 a = 241 a = 2 11 11 a = 3 3 3 3 3 a = 2 2 61 a = 5 7 7 a = 2 3 41 a = 13 19 a = 2 2 2 31 a = 3 83 a = 2 5 5 5 a = 251 a = 2 2 3 3 7 a = 11 23 a = 2 127 a = 3 5 17 a = 2 2 2 2 2 2 2 2 a = 257 a = 2 3 43 a = 7 37 a = 2 2 5 13 a = 3 3 29 a = 2 131 a = 263 a = 2 2 2 3 11 a = 5 53 a = 2 7 19 a = 3 89 a = 2 2 67 a = 269 a = 2 3 3 3 5 a = 271 a = 2 2 2 2 17 a = 3 7 13 a = 2 137 a = 5 5 11 a = 2 2 3 23 a = 277 a = 2 139 a = 3 3 31 a = 2 2 2 5 7 a = 281 a = 2 3 47 a = 283 a = 2 2 71 a = 3 5 19 a = 2 11 13 a = 7 41 a = 2 2 2 2 2 3 3 a = 17 17 a = 2 5 29 a = 3 97 a = 2 2 73 a = 293 a = 2 3 7 7 a = 5 59 a = 2 2 2 37 a = 3 3 3 11 a = 2 149 a = 13 23 a = 2 2 3 5 5 a = 7 43 a = 2 151 a = 3 101 a = 2 2 2 2 19 a = 5 61 a = 2 3 3 17 a = 307 a = 2 2 7 11 a = 3 103 a = 2 5 31 a = 311 a = 2 2 2 3 13 a = 313 a = 2 157 a = 3 3 5 7 a = 2 2 79 a = 317 a = 2 3 53 a = 11 29 a = 2 2 2 2 2 2 5 a = 3 107 a = 2 7 23 a = 17 19 a = 2 2 3 3 3 3 a = 5 5 13 a = 2 163 a = 3 109 a = 2 2 2 41 a = 7 47 a = 2 3 5 11 a = 331 a = 2 2 83 a = 3 3 37 a = 2 167 a = 5 67 a = 2 2 2 2 3 7 a = 337 a = 2 13 13 a = 3 113 a = 2 2 5 17 a = 11 31 a = 2 3 3 19 a = 7 7 7 a = 2 2 2 43 a = 3 5 23 a = 2 173 a = 347 a = 2 2 3 29 a = 349 a = 2 5 5 7 a = 3 3 3 13 a = 2 2 2 2 2 11 a = 353 a = 2 3 59 a = 5 71 a = 2 2 89 a = 3 7 17 a = 2 179 a = 359 a = 2 2 2 3 3 5 a = 19 19 a = 2 181 a = 3 11 11 a = 2 2 7 13 a = 5 73 a = 2 3 61 a = 367 a = 2 2 2 2 23 a = 3 3 41 a = 2 5 37 a = 7 53 a = 2 2 3 31 a = 373 a = 2 11 17 a = 3 5 5 5 a = 2 2 2 47 a = 13 29 a = 2 3 3 3 7 a = 379 a = 2 2 5 19 a = 3 127 a = 2 191 a = 383 a = 2 2 2 2 2 2 2 3 a = 5 7 11 a = 2 193 a = 3 3 43 a = 2 2 97 a = 389 a = 2 3 5 13 a = 17 23 a = 2 2 2 7 7 a = 3 131 a = 2 197 a = 5 79 a = 2 2 3 3 11 a = 397 a = 2 199 a = 3 7 19 a = 2 2 2 2 5 5 a = 401 a = 2 3 67 a = 13 31 a = 2 2 101 a = 3 3 3 3 5 a = 2 7 29 a = 11 37 a = 2 2 2 3 17 a = 409 a = 2 5 41 a = 3 137 a = 2 ...