# Amicable Pairs

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. For example, the proper divisors of 6 are 1, 2, and 3.) A pair of amicable numbers constitutes an __aliquot sequence__ of __period__ 2. A related concept is that of a __perfect number__, which is a number that equals the sum of its own proper divisors, in other words a number which forms an aliquot sequence of period 1. Numbers that are members of an aliquot sequence with period greater than 2 are known as __sociable numbers__.

For example, the smallest pair of amicable numbers is (__220__, __284__); for the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110, of which the sum is 284; and the proper divisors of 284 are 1, 2, 4, 71 and 142, of which the sum is 220.

The first few amicable pairs are: (220, 284), (1184, 1210), (2620, 2924), (5020, 5564), (6232, 6368) (sequence __A063990__ in __OEIS__).