## [Golang] Distinct powers - Problem 29 - Project Euler

Go solution to Distinct powers - Problem 29 - Project Euler.

read more »Go solution to Distinct powers - Problem 29 - Project Euler.

read more »Go solution to Number spiral diagonals - Problem 28 - Project Euler.

read more »Go solution to Names scores - Problem 22 - Project Euler.

read more »Go solution to Counting Sundays - Problem 19 - Project Euler.

read more »Go solution to Pandigital products - Problem 32 - Project Euler.

read more »Go solution to Coin sums - Problem 31 - Project Euler.

read more »Naive method for primality test in Go: Given a natural number n, if n is divisible by any number from 2 to square root of n, then n is composite. Otherwise n is prime.

read more »Calculate politeness of a number online, i.e., the number of ways it can be expressed as the sum of consecutive integers.

read more »Calculate politeness of a number in Go, i.e., the number of ways it can be expressed as the sum of consecutive integers

read more »Online tool for prime factorization and calculating sum of proper divisors. The algorithm is implemented in JavaScript and UI in Vue.js.

read more »Go solution to Digit fifth powers - Problem 30 - Project Euler.

read more »Online tool that helps you do prime factorization. The algorithm is implemented in JavaScript and UI in Vue.js.

read more »*Sieve of Eratosthenes* is a simple and ancient method to find prime
numbers up to a given limit. Given a limit, this online demo returns
all prime number below the limit.

Online demo of *sieve of eratosthenes* via Go/GopherJS/gopherjs-vue.

Euler's Totient Function φ(n) counts the positive integers that are relatively prime to n. This online demo use naive method to calculate φ(n) and positive integers coprime to n.

read more »Goldbach's conjecture - Every even integer greater than 2 can be written as the sum of two primes. Given a positive even integer, this online demo returns the two primes.

read more »JavaScript implementation of *Sieve of Eratosthenes*.

Go solution to Project Euler.

read more »Go solution to Quadratic primes - Problem 27 - Project Euler.

read more »Check if a large number is divisible by 3 or not in Go. This exercise
is good example for type casting between *int* and *string* in Go.

2n + 1 = p + 2q always has a solution in primes p and q (not necessarily distinct) for n > 2. This online demo finds p and q for given odd number greater than 5. The demo is written in Go and compiled to JavaScript using GopherJS.

read more »2n + 1 = p + 2q always has a solution in primes p and q (not necessarily distinct) for n > 2. This online demo finds p and q for given odd number greater than 5.

read more »2n + 1 = p + 2q always has a solution in primes p and q (not necessarily distinct) for n > 2. Write a Go program to find p and q for given odd number greater than 5.

read more »Test if a number (at least 2-digit) is Lychrel number or not under limited iterations in Go.

read more »Given a biased coin with the probability of p to be head on each toss, where 0 < p < 1 and p ≠ 0.5, generate fair results from the biased coin.

read more »Given N numbers, generate any one of the given numbers according to given probabilities.

read more »Find set differecne of two arrays, i.e., the elements in one array but not in the other, in Python.

read more »Find the set of all elements (union) in two arrays in Python.

read more »Find common elements (matches, intersection) of two arrays in Python.

read more »Find set differecne of two arrays, i.e., the elements in one array but not in the other, in JavaScript.

read more »Find set differecne of two arrays, i.e., the elements in one array but not in the other, in Go.

read more »Find the set of all elements (union) in two arrays in JavaScript.

read more »Find common elements (matches, intersection) of two arrays in JavaScript.

read more »Find the set of all elements in two arrays in Go programming language.

read more »Find common elements (matches, intersection) of two arrays in Go programming language.

read more »Go solution to Lexicographic permutations - Problem 24 - Project Euler.

read more »Go solution to Non-abundant sums - Problem 23 - Project Euler.

read more »Go solution to Number letter counts - Problem 17 - Project Euler.

read more »Spell numbers from 1 to 1000 in English via Go programming language.

read more »Go solution to 1000-digit Fibonacci number - Problem 25 - Project Euler.

read more »Go solution to Factorial digit sum - Problem 20 - Project Euler.

read more »Multiplication of big natural numbers in Go. This is for very large positive integers which overflows the built-in numerical type in Go.

read more »Go solution to Power digit sum - Problem 16 - Project Euler.

read more »Go solution to Lattice paths - Problem 15 - Project Euler.

read more »Go solution to Large sum - Problem 13 - Project Euler.

read more »Addition of big natural numbers in Go. This is for very large positive integers which overflows the built-in numerical type in Go.

read more »Go solution to Largest product in a grid - Problem 11 - Project Euler.

read more »Go solution to Even Fibonacci numbers - Problem 2 - Project Euler.

read more »Go solution to Multiples of 3 and 5 - Problem 1 - Project Euler.

read more »This is not hard but still interesting. A spread of an array of numbers is the difference between its maximum and minimum. Given an array...

read more »I heard this is classic, but turns out not too hard.

read more »This is also an interesting result, although it's quite simple.

read more »For (iin{1,2,3}), there are (2n+i) integers consisting of (n+i) unique ones.

read more »A simple yet surprisingly interesting result.

read more »Given a sequence of (n) integers (a_1,ldots,a_n), we map it to ...

read more »On the 2D plane there are (n) blue and (n) red points, no three of them are co-linear. Then we can always pair a blue point with a red ...

read more »Given a natural number (integer), calculate the number of divisors of it in Go programming language.

read more »Go solution to highly divisible triangular number - Problem 12 - Project Euler.

read more »Go solution to longest Collatz sequence - Problem 14 - Project Euler.

read more »Go solution to summation of primes - Problem 10 - Project Euler.

read more »Go solution to 10001st prime - Problem 7 - Project Euler.

read more »*Goldbach's conjecture* - Every even integer greater than 2 can be
written as the sum of two primes. Given a positive even integer, write
a Go program to find the two primes.

Euler's totient function implementation in Go programming language.

read more »Find least common multiple (LCM) by greatest common divisor (GCD) via Go programming language.

read more »Go solution to smallest multiple - Problem 9 - Project Euler.

read more »Go solution to special Pythagorean triplet - Problem 9 - Project Euler.

read more »Go solution to amicable numbers - Problem 21 - Project Euler.

read more »It is said to be well-known, but perhaps I've never seen it before:

read more »Integer exponentiation in Go programming language.

read more »Calculate the sum of all proper divisors (factors) of an integer number in Go programming language.

read more »Go solution to largest prime factor of 600851475143 - Problem 3 - Project Euler.

read more »Compute the greatest common divisor (GCD) via Euclidean algorithm in Go programming language.

read more »*Prime Factorization* - Find all prime factors of a given integer
number in Go programming language.

Check whether two strings are anagram of each other by characters count in Go programming language.

read more »Check whether two strings are anagram of each other by sorting in Go programming language.

read more »Compute the length of longest common subsequence via recursion in Go.

read more »Go solution to largest palindrome made from the product of two 3-digit numbers. - Problem 4 - Project Euler.

read more »Go implementation of primality test - optimized school method.

read more »Go implementation of *Sieve of Eratosthenes*.

Check if an integer number is palindrome in Go programming language.

read more »Given a text and a wildcard pattern, implement wildcard pattern matching algorithm that finds if wildcard pattern is matched with text in Go programming language.

read more »Go implementation of BK-tree data structure used for approximate string matching in a dictionary. The distance metric here is Levenshtein distance, the minimum number of single-character edits (insertions, deletions or substitutions) required to change one string into the other.

read more »Go implementation of Wagner-Fischer algorithm that computes the edit distance between two strings of characters. The edit distance here is Levenshtein distance, the minimum number of single-character edits (insertions, deletions or substitutions) required to change one string into the other.

read more »Recursive implementation of Levenshtein distance algorithm in Go programming language. Levenshtein distance (LD) is a measure of the similarity between two strings, the minimum number of single-character edits (insertions, deletions or substitutions) required to change one string into the other.

read more »Find all permutations of a given string containing all distinct characters in Go programming language.

read more »In a recent algorithmic coding contest which I didn't do well, the hardest problem killed me. It distinguished me from other superior coders. But it's still an interesting one. The problem is essentially to solve a 0/1 knapsack problem on a tree where each node is associated with an …

read more »Insane DFS

read more »Swap and Sum

read more »Robot

read more »