Problem 1722. Find the next prime number
43.55% Correct | 56.45% Incorrect
Last Solution submitted on Mar 30, 2023
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 Solvers341
Height of a right-angled triangle
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!