Problem 44384. Find the nearest prime number
30.99% Correct | 69.01% Incorrect
Last Solution submitted on May 03, 2023
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 CommentsShow comments
Problem Recent Solvers613
Replace NaNs with the number that appears to its left in the row.
Renaming a field in a structure array
Sum of diagonal of a square matrix
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!