Problem 1722. Find the next prime number
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
GeeTwo
on 20 Jun 2022
Oh, I like that one! Iterative, but elegant.
Though you can knock it further down using ans in place of y.
Problem Recent Solvers340
Suggested Problems
-
Make an awesome ramp for a tiny motorcycle stuntman
439 Solvers
-
257 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
451 Solvers
-
467 Solvers
-
572 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!