public static bool IsAbundant(int number) { return(Divisors.ProperDivisors(number).Sum() > number); }
public static bool IsAmicable(long number) { var first = Divisors.ProperDivisors(number).Sum(); return(first != number && number == Divisors.ProperDivisors(first).Sum()); }