Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers46
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
Project Euler: Problem 4, Palindromic numbers
1301 Solvers
-
Change the sign of even index entries of the reversed vector
663 Solvers
-
540 Solvers
-
250 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!