黑客派 Give the codes a soul.
Longest Collatz sequence
[图片] Project Euler 第 14 题 Question The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using ..
Maximum path sum I
[图片] Project Euler 第 18 题 Question By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to b ..
[图片] Project Euler 第 21 题 Question Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) ..
[图片] Project Euler 第 26 题 Question A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are g ..