HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof ⚡
MIT License
875 stars 1.05k forks source link

Amicable Pair #7492

Closed anshmishra010 closed 3 years ago

anshmishra010 commented 3 years ago

Have you read the Contributing Guidelines on Pull Requests?

yes

Description

Amicable numbers are two different numbers so related that the sum of the proper divisors of each is equal to the other number. (A proper divisor of a number is a positive factor of that number other than the number itself. Given two Numbers A and B, find whether they are Amicable Numbers or not. Print 1 if they are Amicable else 0.

Checklist

Related Issues or Pull Requests

7490