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 Solvers43
Suggested Problems
-
3426 Solvers
-
How to find the position of an element in a vector without using the find function
2807 Solvers
-
All your base are belong to us
571 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
589 Solvers
-
272 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!