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
-
Project Euler: Problem 5, Smallest multiple
1678 Solvers
-
Find the largest value in the 3D matrix
1688 Solvers
-
Change the sign of even index entries of the reversed vector
661 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2241 Solvers
-
427 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!