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

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

37.93% Correct | 62.07% Incorrect
Last solution submitted on Jun 28, 2019

Problem Comments

Problem Recent Solvers11

Suggested Problems

More from this Author9

Problem Tags