What is the greatest product of four adjacent numbers on the same straight line in the 20 by 20 grid? … More

# Category: Go programming language

# Project Euler – Problem # 10 – Solved with Go

Calculate the sum of all the primes below two million. The sum of the primes below 10 is 2 + … More

# Project Euler – Problem # 9 – Solved with Go

Find the only Pythagorean triplet, {a, b, c}, for which a + b + c = 1000. A Pythagorean triplet … More

# Project Euler – Problem # 8 – Solved with Go

Find the greatest product of five consecutive digits in the 1000-digit number. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 … More

# Project Euler – Problem # 7 – Solved with Go

Find the 10001st prime. By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can … More

# Project Euler – Problem # 6 – Solved with Go

What is the difference between the sum of the squares and the square of the sums? The sum of the … More

# Project Euler – Problem # 5 – Solved with the Go programming language

What is the smallest number divisible by each of the numbers 1 to 20? 2520 is the smallest number that … More

# Project Euler – Problem # 4 – Solved with the Go programming language

Find the largest palindrome made from the product of two 3-digit numbers. A palindromic number reads the same both ways. … More

# Project Euler – Problem # 3 – Solved with the Go programming language

Find the largest prime factor of a composite number. The prime factors of 13195 are 5, 7, 13 and 29. … More

# Project Euler – Problem # 2 – Solved with the Go programming language

By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the … More