public static BigInteger SumOfProperDivisors(this BigInteger input) => input .GetDivisors() .Where(factor => factor < input) .Sum();