Problem 44384. Find the nearest prime number
Solution Stats
Problem Comments
-
1 Comment
Tran Hiep Dinh
on 21 Mar 2019
Test case No. 5
x = 911;
y_correct = 911;
Should the nearest prime number for 911 have been 907?
Solution Comments
Show commentsProblem Recent Solvers613
Suggested Problems
-
1951 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1445 Solvers
-
Remove the two elements next to NaN value
619 Solvers
-
1280 Solvers
-
11173 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!