public static Long sumPrimesUpTo(Long upperLimit) { List<Long> primes = Util.generateListOfPrimes2(upperLimit); return Util.sumListOfLongs(primes); }