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
-
2955 Solvers
-
3030 Solvers
-
891 Solvers
-
Return a list sorted by number of consecutive occurrences
332 Solvers
-
484 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!