Gets the sum of prime numbers up to a ceiling number.