コード例 #1
0
 public static bool IsAbundant(this BigInteger input)
 => input.SumOfProperDivisors() > input;
コード例 #2
0
 public static bool IsAmicable(this BigInteger input)
 => input != input.SumOfProperDivisors() &&
 input == input
 .SumOfProperDivisors()
 .SumOfProperDivisors();