Problem 44861. Ratio between sums of prime and non-prime numbers
Solution Stats
Problem Comments
-
3 Comments
test case #2 is not correct.
The problem description should be change to "and the sum of non-prime numbers up to the greatest prime lower than x".
Thank you for that clarification, @Rafael S.T. Vieira. The problem title and description have been improved, along with added test cases.
Problem Recent Solvers31
Suggested Problems
-
2311 Solvers
-
347 Solvers
-
Convert given decimal number to binary number.
1262 Solvers
-
4794 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
537 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!