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 all integers from 1 to 2^n
17389 Solvers
-
Project Euler: Problem 10, Sum of Primes
2088 Solvers
-
Create a square matrix of multiples
495 Solvers
-
2146 Solvers
-
113 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!