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 Solvers43
Suggested Problems
-
Sum of diagonal of a square matrix
1637 Solvers
-
Check if number exists in vector
13826 Solvers
-
542 Solvers
-
2474 Solvers
-
44 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!