Project Name File Name Usage Source Code Link
ProjectEuler Problem072.cs new Range(2, 1000000, true) .AsParallel() .Sum(d => MathUtilities.Totient(d)) Link To Source File
ProjectEuler Problem094.cs new Range(3, 1000000000 / 3, 2) .AsParallel() .Sum(n => { long i = n; long sum = 0; if (MathUtilities.IsPerfectSquare(i * i - (i - 1) * (i - 1) / 4)) { sum += 3 * i - 1; } if (MathUtilities.IsPerfectSquare(i * i - (i + 1) * (i + 1) / 4)) { sum += 3 * i + 1; } return sum; }) Link To Source File