Cody

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