MATLAB Cody - MATLAB Central

Problem 44284. Given a number N, find the smallest prime P>N

Solution 1251263

Submitted on 14 Aug 2017 by Zakaria Makhlouki
  • Size: 10
  • This is the leading solution.
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author100

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page