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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52491 Solvers
-
Change the sign of even index entries of the reversed vector
626 Solvers
-
Is this triangle right-angled?
6503 Solvers
-
771 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2124 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!