Problem 44305. 5 Prime Numbers
Solution Stats
Problem Comments
-
2 Comments
Peter Cook
on 20 Oct 2017
I wrote & timed a bunch of sieve type algorithms until I realized the problem was much simpler. Interesting problem.
Gifari Zulkarnaen
on 15 Jan 2021
For all of those having "server error", your code takes too much time on last test. Hint: you don't need to evaluate all numbers between n_min & n_max
Solution Comments
Show commentsProblem Recent Solvers430
Suggested Problems
-
11373 Solvers
-
427 Solvers
-
Convert a vector into a number
580 Solvers
-
There are 10 types of people in the world
841 Solvers
-
181 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!