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 10, Sum of Primes
2125 Solvers
-
387 Solvers
-
Simple equation: Annual salary
4266 Solvers
-
476 Solvers
-
find "greatest common divisor" of two integer value
200 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!