# Solution to Project Euler Problem 16

This program is the solution to Project Euler’s Problem 16. It can be found here. The problem says: The program uses the BigInteger class to deal with large numbers. The answer comes out to be 1366 which is judged correct …

# Program to calculate the sum of all the primes below two million. (Project Euler- Problem 10)

This program is the solution to Project Euler – Problem 10 which can be found here. The Problem: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all …

# Java program to find the sum of the even-valued terms in the Fibonacci sequence whose values do not exceed 4 million

This is another problem taken from Project Euler. Link. The problem: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, …

# Java program to find the smallest number divisible by each of the numbers 1 to 20.

This question is taken Project Euler. Link. The question states: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly …