Пример #1
0
        static bool IsAmicable(double x)
        {
            var y = Helpers.DivisorSum(x);

            return(x == Helpers.DivisorSum(y) && x != y);
        }