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

32.5% Correct | 67.5% Incorrect
Last Solution submitted on Jan 03, 2020

Problem Comments

Problem Recent Solvers13

Suggested Problems

More from this Author10

Problem Tags