Problem 55865. Maior Primo
Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers39
Suggested Problems
-
Select every other element of a vector
32102 Solvers
-
find the maximum element of the matrix
488 Solvers
-
365 Solvers
-
8370 Solvers
-
138 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!