Given a number, check whether it is prime or not.

If prime output is true, otherwise false.

Solution Stats

474 Solutions

149 Solvers

Last Solution submitted on Nov 26, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers149

Suggested Problems

More from this Author16

Community Treasure Hunt

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

Start Hunting!