Problem 44861. Ratio between sum of primer numbers and non-prime numbers

Created by Jesús Zambrano in Community

Write a function that calculates the ratio between the sum of the prime numbers lower or equal than x, and the sum of the non-prime numbers lower than x.

Solution Stats

39.29% Correct | 60.71% Incorrect
Last solution submitted on Mar 19, 2019

Recent Solvers11

Suggested Problems

More from this Author9