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

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

Problem Comments