Problem 44861. Ratio between sums of prime and non-prime numbers
Solution Stats
Problem Comments
-
3 Comments
Gergely Patay
on 28 Jun 2019
test case #2 is not correct.
Rafael S.T. Vieira
on 27 Aug 2020
The problem description should be change to "and the sum of non-prime numbers up to the greatest prime lower than x".
goc3
on 29 Sep 2020
Thank you for that clarification, @Rafael S.T. Vieira. The problem title and description have been improved, along with added test cases.
Problem Recent Solvers34
Suggested Problems
-
Back to basics 11 - Max Integer
750 Solvers
-
Get the length of a given vector
7640 Solvers
-
Simple equation: Annual salary
4062 Solvers
-
Side of an equilateral triangle
4787 Solvers
-
409 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!