Find biggest prime number which is near input number.
Version 1.0.0.0 (892 Bytes) by
Hoai Tran Quoc
Find biggest prime number near the given number
Find the biggest prime number near the specific number (>= 2).
Example:
>> max_prime_no(1e9)
ans =
999999937
Cite As
Hoai Tran Quoc (2024). Find biggest prime number which is near input number. (https://www.mathworks.com/matlabcentral/fileexchange/59549-find-biggest-prime-number-which-is-near-input-number), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Discrete Math in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |