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

If prime output is true, otherwise false.

Solution Stats

514 Solutions

156 Solvers

Last Solution submitted on Aug 07, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers156

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!