Problem 1722. Find the next prime number
43.49% Correct | 56.51% Incorrect
Last Solution submitted on Mar 24, 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 Solvers340
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!