Sociable Number Calculator
Follow aliquot sums from n to see whether it belongs to a cycle of three or more numbers.
What it does
Sociable numbers are members of an aliquot cycle with at least three terms. Starting from a number, replace it by the sum of its proper divisors and repeat. If the sequence returns to the starting value after three or more distinct steps, the numbers form a sociable chain.
Perfect numbers are cycles of length one and amicable pairs are cycles of length two, so both are excluded from the sociable family. The first sociable cycle was found by Paul Poulet and has five members beginning with 12496.
This page iterates the aliquot sum, records the values seen and stops when a repeat appears. It reports the length of the cycle and its first few members, which makes the structure visible.
The search is bounded by a step guard, so even inputs whose chain has not closed within the limit return a clear result rather than running indefinitely.
The input limit is one million, which keeps factorization along the chain fast. All sums are exact integers.
How to use
- Enter a whole number n from 2 to 1,000,000.
- Read the classification in the main result box.
- Check the cycle length beside it.
- The first members of the cycle are printed for verification.
- The default n = 12496 reproduces the worked example.
- Try n = 6 to see a perfect number with a cycle of length one.
Formula
- n
- The starting integer.
- s(n)
- The aliquot sum, or sum of proper divisors.
- cycle
- The repeating orbit of iterated aliquot sums.
Perfect numbers give a cycle of length one and amicable pairs give length two. A sociable chain needs length at least three. The iteration uses a fixed guard so no input can keep the page busy without end.
Worked example
Example: n = 12496
The page opens with n = 12496.
- Compute the aliquot sum of 12496 to get 14288.
- Continue the chain through 15472, 14536 and 14264.
- The aliquot sum of 14264 returns to 12496.
- The cycle has five distinct members.
- The tool reports Sociable, cycle length 5, and the five members.
- For 6 the cycle is just 6, so the verdict is not sociable.
Reference table
| n | Cycle length | Cycle type | Sociable |
|---|---|---|---|
| 6 | 1 | Perfect | No |
| 220 | 2 | Amicable | No |
| 12496 | 5 | Sociable | Yes |
| 14316 | 4 | Sociable | Yes |
| 1264460 | 4 | Sociable | Yes |
Limits
- Inputs above 1,000,000 are rejected to keep factoring fast.
- The search has a fixed step guard.
- The tool prints only the first eight cycle members.
- Perfect and amicable cycles are deliberately excluded.
Common mistakes
- Counting a perfect number as sociable.
- Counting an amicable pair as sociable.
- Including n itself in its proper divisor sum.
- Assuming every aliquot chain closes quickly.
- Confusing sociable with amicable numbers.
Try it yourself
Quick checks. Answers sit tucked under each question.
Is 12496 sociable?
Yes. It belongs to a cycle of five numbers.
Is 220 sociable?
No. It is amicable, a cycle of length two.
Is 6 sociable?
No. It is perfect, a cycle of length one.
Questions
Who found the first sociable chain?
Paul Poulet found the five member chain beginning with 12496.
How do sociable numbers differ from amicable ones?
Amicable cycles have length two, sociable cycles have length at least three.
Are all aliquot chains cyclic?
No, many end at zero or grow without repeating.
What is the step guard for?
It stops the search if a chain has not closed within a fixed number of steps.
Are sums exact?
Yes, integer factorization and sums are used.
What input range is accepted?
Whole numbers from 2 through 1,000,000.