Tag: java
Project Euler Problem 11 Java
In this blog post we will be looking at problem 11 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. In the 20×20 grid below, four numbers along a diagonal line have been marked in red. The product of these
Project Euler Problem 10 Java
In this blog post we will be looking at problem 10 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the
Project Euler Problem 9 Java
In this blog post we will be looking at problem 9 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a2 +
Project Euler Problem 8 Java
In this blog post we will be looking at problem 8 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8
Project Euler Problem 7 Java
In this blog post we will be looking at problem 7 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the
Project Euler Problem 6 Java
In this blog post we will be looking at problem 6 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + … + 10^2
Project Euler Problem 5 Java
In this blog post we will we be looking at problem 5 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. 2520 is the smallest number that can be divided by each of the numbers from 1 to 10
Project Euler problem 4 Java
In this blog post we will be looking at problem 4 of Project Euler and we will program a solution in Java. The problem of Project Euler found here, below is the problem for quick lookup. A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers
Project Euler problem 3 Java
In this blog post we will be looking at problem 3 of Project Euler and we will be doing it in Java. This problem of project Euler found here, Below is the problem for quick lookup. The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the
Project Euler problem 2 Java
In this blog post we will be looking at problem 2 of Project Euler and we will be doing it in Java. This problem of project Euler found here, below is the problem for quick lookup. Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1