static bool IsAmicable(double x) { var y = Helpers.DivisorSum(x); return(x == Helpers.DivisorSum(y) && x != y); }