Amicable Numbers Checker

Check whether a number is part of an amicable pair.

How it is calculated

The tool finds the aliquot sum s(n), the sum of all divisors of n except n itself. It does this by testing every i from 2 up to √n, adding both i and n ÷ i whenever i divides n, and starting from 1. The number s(n) is shown as the partner. It then computes s(partner). The pair is called amicable only when s(n) = partner, s(partner) = n and the partner differs from n. A perfect number such as 6 has itself as partner, so it is reported as not amicable. Whole numbers from 1 to 100,000,000 are accepted; a decimal is cut to its integer part and anything outside the range returns no result. For 1 the partner is 0. Note that the partner is shown even when the answer is no, since it is simply the aliquot sum.

Worked example

Enter 1184 (2⁵ × 37). Its proper divisors add up to 1 + 2 + 4 + 8 + 16 + 32 + 37 + 74 + 148 + 296 + 592 = 1,210, so the partner is 1,210. Now check the way back: the proper divisors of 1,210 (1, 2, 5, 10, 11, 22, 55, 110, 121, 242, 605) sum to 1,184. Both sums lead to each other, so the result is Amicable pair. Entering 12 instead gives a partner of 16, but the sum for 16 is 15, not 12, so it is not amicable.

Try this example →

Common mistakes

  • Including the number itself in the divisor sum. Amicable numbers use proper divisors only, which is why 220 pairs with 284 and not with 504.
  • Seeing a partner and assuming a pair. The partner is displayed for every number; only the status line says whether it leads back to the starting number.
  • Expecting perfect numbers such as 6 or 28 to count. They map to themselves, so the tool reports them as not amicable.
  • Looking for pairs by trial with small numbers. The smallest pair is 220 and 284, and pairs are rare, so most entries give “Not amicable”.
  • Entering a number above 100,000,000, which returns no result, or entering a decimal and expecting it to be rounded; it is truncated.

About this calculator

Two numbers are amicable if each equals the sum of the other's proper divisors (its aliquot sum — all divisors excluding the number itself). The classic pair is 220 and 284: the proper divisors of 220 (1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110) sum to 284, and the proper divisors of 284 (1, 2, 4, 71, 142) sum to 220. This calculator finds a number's aliquot sum, identifies its potential amicable partner, and checks whether the two truly form a pair.

Amicable numbers were studied as far back as the Pythagoreans, who saw them as a symbol of friendship, and later extended by mathematicians like Fermat, Descartes and Euler, who found dozens more pairs through algebraic rules such as Thābit ibn Qurra's formula. Today they're mostly a recreational and educational topic — number theory enthusiasts, math teachers and students use calculators like this to explore divisor sums, perfect numbers (a number equal to its own aliquot sum) and sociable number chains.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators