Answers
Matlab Cody Problem 44305. 5 Prime Numbers
- Institution
- Massachusetts Institute Of Technology
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numbers in that range that contain the number five. But, if you can't find at least five such numbers, the function should give up and return -1. For example, for n_min = 60...
[Show more]