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.
Solution Comments
Show commentsProblem Recent Solvers35
Suggested Problems
-
3923 Solvers
-
1201 Solvers
-
Sum of diagonal of a square matrix
1517 Solvers
-
101 Solvers
-
6517 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!