ExplorationsWhere the chain ends, and where the computation does

Sum the Divisors and Go Again

Open problemdivisorsperfect numbersamicable pairsintermediate

Start with a positive whole number, add its positive other than itself, and repeat with the total. For 12, those divisors are 1, 2, 3, 4 and 6, giving 16. Some chains reach 0 and stop, while others repeat; for starts such as 276, their eventual behaviour remains unknown.

Current view: The divisors

Each step written out as the list of divisors that produces the next number.

The divisors · start 120
  1. start121 + 2 + 3 + 4 + 616
  2. 1161 + 2 + 4 + 815
  3. 2151 + 3 + 59
  4. 391 + 34
  5. 441 + 23
  6. 5311
  7. 61no proper divisors at all0
  8. 70zero is where the rule runs out
Every step of this chain
Each step of the chain from 12, one line per divisor sum
StepThe numberIts proper divisorsTheir total
start121, 2, 3, 4, 616
1161, 2, 4, 815
2151, 3, 59
391, 34
441, 23
5311
61none0
70none, the rule has run out-
the number
what the chain holds at this step
a divisor
a whole number smaller than it that divides it exactly
the total
the divisors added up, which is the number on the next row

One row per step. The number on the left is what the chain currently holds, the divisors printed beside it are every whole number that divides it and is smaller than it, and their total is the number on the next row. Nothing is hidden between two rows: the sum is the rule. Divisor lists are only printed while the number is small enough to print them, and above that the row says so rather than showing a shorter list.

Starting from 12. The chain ends at zero after 7 steps.

Start
12
Steps
7
Highest
16
Ending
ends at zero

The starting number

Step by step

Use Step for one change you can inspect, or Run to watch the changes accumulate.

Speed

How high, and how wide

Height ceiling

How high a chain may climb before this page stops following it. Passing the ceiling ends the computation and is reported as exactly that: the chain climbed above a stated height, which is not the same as saying it never comes down.

Advanced parameters
Window for the endings view

How many starting numbers the endings view enumerates. A chain that rises above the window is recorded as having left it rather than sorted into an ending, so widening the window moves starts out of that group and into the others.

Cases worth seeing

Try this

Start the chain at any prime number you like. Why is the second row always 1, and the third always 0?

1/3

What is going on

Each explanation begins with a worked example and follows the same operation through intuition, formal statements and proofs. Later sections distinguish what is established from questions that remain open, so you can follow the level of detail useful to you.

Worked by handThe chain from 12, taken down to nothing in seven steps. Each line lists the of the number on the left, and their total is the number on the right.
  1. 121 + 2 + 3 + 4 + 616the five numbers below 12 that divide it
  2. 161 + 2 + 4 + 815a , so the are too
  3. 151 + 3 + 59
  4. 91 + 34
  5. 41 + 23
  6. 3113 is , so 1 is its only
  7. 1nothing to add01 has no at all, and the chain ends

The laboratory performs exactly those lines, one per step, and then draws the same chain a second way: the value plotted upwards against the step number, so a chain that climbs for a while before falling looks like what it is rather than like a column of digits.

Twelve fell to nothing almost immediately. A hundred and thirty-eight, which is barely larger, climbs for a hundred and seventeen steps to 179,931,895,322 before coming all the way back down. And two hundred and seventy-six, which sits between them, has been followed by people with far more patience than this page has, and nobody knows whether it ever comes down at all.

01

What you are seeing

A plain description of the process

Begin with a positive whole number and list the smaller positive whole numbers that divide it without a . These are its ; the number itself is excluded. For 12, the list is 1, 2, 3, 4 and 6, whose sum is 16.

Use that sum as the next starting value. The of 16 are 1, 2, 4 and 8, giving 15. Repeating produces 12 → 16 → 15 → 9 → 4 → 3 → 1 → 0. The sum for 1 is zero because it has no smaller positive , and the laboratory ends the chain there rather than applying the divisor rule to zero.

Not every chain ends this way. The of 28 add to 28, so it stays fixed. Those of 220 add to 284, and those of 284 add to 220, making a two-number . Other starts, including 276, reach this laboratory's computation without resolving. That limit tells us where the calculation stopped, not what the chain will eventually do.

02

Why it starts to make sense

Intuition, before any algebra

Two rough observations explain most of what you see, and neither of them is enough to settle anything.

collapse instantly. A prime has exactly one , namely 1, so any chain that lands on a prime is over in two more steps: prime, then 1, then 0. Since a majority of the numbers a chain passes through are not especially rich in , most chains find their way onto something small fairly quickly and end.

Numbers with many grow. The divisor sum of can easily exceed . Take 12: its divisors add to 16, which is a third larger. Numbers like this are called abundant, and they are not rare, because having a lot of small factors is not rare. A chain that lands on an abundant number goes up, and if it keeps landing on abundant numbers it keeps going up.

Put those together and the picture is a tug of war with no referee. There is no quantity here that must decrease, which is the thing every other on this site has and this one does not. Kaprekar's routine cannot leave four digits. The digit-power rule cannot outrun itself. Ducci's rule can only shrink. Each of those is trapped in a finite set, so it must end in a or a , and the only remaining question is which one.

The aliquot rule has no such trap. A chain is free to wander upwards forever as far as anything elementary can tell, and that single missing guarantee is why the sentence "every chain ends or repeats" is a from 1888 rather than a two-line argument.

03

The key idea

What a stopped computation does and does not say

The sentence worth carrying away is this one.

A chain that passed the ceiling has been shown to climb. It has not been shown to escape.

Those are different claims and only the first one is true here. When the laboratory stops at the ceiling it prints how many steps it took and how high the chain got, and that is the entire content of the result. There is no step being read as an answer and no picture being read as a trend.

Three things on this page are being established in three different ways, and it is worth knowing which is which.

  • The chain from 12 ends, and the chain from 138 ends after climbing to a hundred and eighty billion. Both are proved, because both are finite computations carried out to completion in exact arithmetic. Nothing is being trusted.
  • Every start below 1,000 was run to a ceiling of a million million. Nine hundred and fifty-eight reach zero, nineteen settle on a , three enter the loop containing 220, and nineteen exceed the ceiling. That is a complete check of a finite list under stated bounds, and it says nothing whatever about what those nineteen do next.
  • Whether every chain ends or repeats is open. It is cited, it is not proved here, and nothing on this page is evidence either way.

The temptation this page is built to resist is the second bullet quietly becoming the first. A hundred and seventeen steps of unbroken climbing looks like an answer. It is worth knowing that chains exist which climb for as long as you like and then stop climbing, so no amount of watching a chain go up can settle where it goes.

04

Formal statement

Precisely what is being claimed

For a positive , let be the sum of all of including itself, and define the aliquot map

the sum of the , with . The of is , stopping if it reaches .

  1. If then , and is multiplicative on arguments. Proved.
  2. for every . Proved.
  3. is a of exactly when is perfect. The only such are . Exhaustively checked over exactly that range.
  4. The of , and are of length , and . Proved, by exhibiting each cycle.
  5. , and , attained at . Proved, by carrying out all 178 steps exactly.
  6. . Proved, by carrying out those 57 steps exactly. No statement is made about for .
  7. Every is bounded. Open (Catalan 1888, Dickson 1913), and the smallest start for which it is unknown is .

Statement 7 is the exploration. Statements 5 and 6 are what this page can establish on its own, and they are consistent with either answer to 7 without being evidence for either.

05

Proof

Of the parts that admit one

The -sum formula. Every divisor of is with , and each such choice occurs exactly once. Expanding the product produces exactly one term for each such choice, so the product is . Multiplicativity on arguments follows, since coprime numbers share no and the two products are over disjoint sets of primes. ∎

. A prime has and only, so and . The next step is , so any chain reaching a prime is over within two further steps. ∎

The . Run the rule. and , so the pair repeats. From the chain is , closing after five steps. From it closes after twenty-eight. In each case a value has occurred twice, and since depends on nothing but the number it is given, everything after the repeat repeats too. Exhibiting the cycle is the whole , and this is the one place on the page where a finite computation settles an infinite statement outright. ∎

138 and 276. Both are single finite computations in exact arithmetic, and the laboratory carries them out in full. For 138 the chain reaches after 178 steps, so the statement "138 terminates" is established. For 276 the chain exceeds after 57 steps, so the statement "" is established. Note carefully that the second computation proves a statement about step 57 and stops there. ∎

What is not proved here. That 276 is unbounded, that it is bounded, or anything about the nineteen unresolved starts below 1,000 beyond the height they reached. It is worth being explicit about why the evidence does not accumulate: arbitrarily long strictly increasing aliquot chains are known to exist, so a chain that has climbed for a hundred steps and a chain that will climb forever are not distinguishable by watching either of them climb. This is not a limitation of the ceiling chosen here. Raising the ceiling moves the number at which the computation stops and changes nothing about what stopping means.

06

Limits and frontier

Where this page stops being able to help

What this laboratory computes. Chains from any start up to a million, followed for at most 400 steps, with a height ceiling you choose from a million, a thousand million or a million million. sums are computed by trial-division in exact arithmetic, so every number printed is exact. Trial division is the slow way to factorise, which is why the ceiling exists at all: it bounds how large a number the page will ever be asked to take apart. The endings view enumerates every start below 10,000, 20,000 or 100,000 in a background thread with a working progress bar and a cancel that really stops it.

The window is not the space. Every other figure on this site enumerates something genuinely closed. This one cannot, because a chain is free to leave any window drawn around it, and about a fifth of the starts below 10,000 do exactly that. Those starts are drawn apart from the endings rather than sorted into one, because sorting them would be reporting where the range was cut as though it were a property of the rule. Widen the window and the counts all change, which is the honest way to notice that they were never counts about numbers in general.

Where the mathematics is still moving. The Catalan-Dickson is open. Five independent unresolved starts below 1000, 276, 552, 564, 660 and 966, are called the Lehmer five, and 276 has been pursued to chains of well over two thousand terms and numbers of more than two hundred digits without resolving. Guy and Selfridge suggested the opposite conjecture, that many such chains are in fact unbounded. This page takes no side, computes nothing that would let it, and stops at the ceiling.

Read this next to the Collatz orbit atlas. The two rules look alike from a distance: both climb, both fall, both have a universal statement nobody has proved. The difference is where the uncertainty sits. Every Collatz anyone has tested has returned to 1, so the there is a statement about numbers nobody has reached. Here the unresolved cases are small enough to write on your hand, and 276 has been resisting since before anyone had a computer to resist with.

What is actually established

Every statement on this page, with its status, its exact scope, and the date that status was last checked.

Proved

The chain from 12 is 12, 16, 15, 9, 4, 3, 1, 0, and it ends after seven steps.

Scope
The single chain beginning at 12, over every step it takes.
Why
Seven divisor sums, each of them a complete enumeration of the divisors of a number below twenty, and the last of them lands on zero where the rule has nothing left to do. Exhibiting the chain is the proof. No search is involved and no step limit is being trusted, which is exactly what separates this from the claim about 276 below.
Status checked
Exhaustively checked

Of the 999 starts below 1,000, 958 reach zero, 19 settle on a perfect number, 3 enter the cycle containing 220 and 284, and 19 climb above the ceiling before doing any of those things.

Scope
Every whole number from 1 to 999, each run until it reached zero, repeated a value, exceeded a ceiling of a million million, or took 400 steps. The 19 that exceeded the ceiling are 276, 306, 396, 552, 564, 660, 696, 702, 720, 780, 828, 840, 858, 888, 936, 966, 978, 990 and 996. Nothing here covers starts of 1,000 or more, and nothing here says what the 19 do next.
Why
A complete check of a finite list of starts under stated bounds, which is a proof about those 999 chains up to those bounds and about nothing else. The 19 that exceeded the ceiling are the interesting ones, and the only established fact about them is that they went above a million million within 400 steps. Whether they come back down is the open problem this page cites.
Computation (exact)
All 999 starts from 1 to 999, run with exact integer arithmetic, a value ceiling of 1,000,000,000,000 and a limit of 400 steps per chain. Divisor sums are computed by trial-division factorisation and the geometric-series identity for sigma, cross-checked in the test suite against direct divisor enumeration and against a divisor-sum sieve. Recomputed in the test suite. Algorithm aliquot-1.
Status checked
Exhaustively checked

The only numbers below 10,000 that equal the sum of their own proper divisors are 6, 28, 496 and 8,128.

Scope
Whole numbers from 1 to 9,999. Every one of them was factorised and its proper-divisor sum compared with itself. Nothing here covers 10,000 or more, and in particular nothing here bears on whether an odd perfect number exists.
Why
These four are the fixed points of the rule inside that range: the chain from each of them never moves. A complete check of a finite range is a proof about that range, and the general question of which numbers are perfect is not settled by it. The four listed here are the first four of Euclid’s even perfect numbers, and that they are the only ones below 10,000 is this page’s computation rather than a citation.
Computation (exact)
Every whole number from 1 to 9,999, factorised by trial division in exact integer arithmetic and its proper-divisor sum compared with the number itself. Recomputed in the test suite. Algorithm aliquot-1.
Status checked
Exhaustively checked

Of the 9,999 starts below 10,000, 7,816 reach zero, 91 end on a perfect number, 91 enter a two-number cycle, and 2,001 leave the window before reaching any ending inside it.

Scope
Starts from 1 to 9,999, with each chain followed only while it stays below 10,000. A chain that rises above the window is counted as having left and is not assigned an ending. Nothing here covers starts of 10,000 or more, and nothing here says where a chain goes after it leaves.
Why
This is a complete analysis of one finite window, built by resolving every successor inside it and reading off the cycles and the values that drain into them. Two thousand and one of the starts walk out of the window, which is a fifth of them, and the figure draws that group apart from the endings rather than folding it in: a start that left has not been shown to do anything except leave. Widening the window changes the counts, which is itself the point.
Computation (exact)
Every start from 1 to 9,999, with successors resolved by exact integer factorisation and the resulting functional graph analysed for cycles, distances and basins. Zero is given a self-loop so that reaching zero counts as an ending like any other, which is a drawing convention rather than a statement about the arithmetic. Recomputed in the test suite. Algorithm aliquot-space-1.
Status checked
Proved

The chain from 220 repeats a pair forever, the chain from 12,496 repeats five numbers forever, and the chain from 14,316 repeats twenty-eight numbers forever.

Scope
Those three chains specifically. It is an existence statement about cycles of length 2, 5 and 28, not a statement about how many cycles there are or how long they can be.
Why
Each is proved by exhibiting the cycle: run the rule from the start, and it returns to the number it began at after 2, 5 and 28 steps respectively. The rule depends on nothing but the number in front of it, so a value that has occurred twice will go on occurring. That is a complete argument, and it needs neither a step limit nor a search.
Status checked
Proved

The chain from 138 climbs to 179,931,895,322 at step 117 and then falls to zero at step 178.

Scope
The single chain beginning at 138, over all 178 of its steps.
Why
A complete finite computation in exact integer arithmetic, exhibited rather than sampled: every one of the 178 divisor sums is performed and the chain is followed to zero, so nothing is left to a step limit. It is on this page because it is the counterexample to the natural mistake, which is to read a long climb as evidence that a chain has escaped. This one climbs for more than a hundred steps and lands anyway.
Status checked
Proved

The chain from 276 rises above a million million within 57 steps. What it does after that is not established here.

Scope
The first 57 steps of the single chain beginning at 276. The claim is that the chain exceeded that height, and it is deliberately nothing more.
Why
Fifty-seven exact divisor sums, each one exhibited, and the fifty-seventh is larger than 1,000,000,000,000. That much is settled. It does not follow, and is not claimed, that the chain grows without bound or that it never returns: 138 climbs for longer than this and still lands. When the laboratory stops at the ceiling it reports that the computation stopped, and the word for what the chain did is climbed rather than escaped.
Status checked
Open problem

Whether every aliquot chain either reaches zero or eventually repeats is an open problem, and 276 is the smallest start whose fate is unknown.

Scope
All starting values. This is the Catalan-Dickson conjecture, stated here and neither proved nor disproved by anything on this page.
Why
Catalan proposed reaching 1 or a perfect number; the later Catalan-Dickson conjecture allows eventual cycles. The Lehmer five, 276, 552, 564, 660 and 966, are five independent unresolved starts below 1000. Other unresolved starts join these chains, so these are not simply the five smallest unknown cases. All five appear among the 19 starts this laboratory cannot resolve within its limits.
Status checked
Proved

There are aliquot chains that climb for as many steps as you care to ask for.

Scope
A statement about the existence of arbitrarily long strictly increasing runs. Established in the literature and cited here; this page reproduces none of the argument.
Why
For any finite length, some starting value has a strictly increasing chain at least that long. This existence result does not say what happens after that increasing prefix, and does not prove that every such chain eventually descends. The complete chain from 138 separately illustrates that a long climb can end at zero.
Status checked

Sources

Review notes show which bibliographic details Mathomaly has checked and which remain unresolved. Checking a publication record does not independently verify its proof.

  1. Richard K. Guy, Unsolved Problems in Number Theory, Springer, third edition, 2004. Link

    Discusses whether every aliquot sequence is bounded. The Lehmer five are five independent unresolved starting values below 1000, not the only unresolved starts in that range.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    Publisher confirms the author, third edition and 2004 print publication. This check does not verify every section attribution.

  2. Eugène Catalan, Propositions et questions diverses, Bulletin de la Société Mathématique de France 16, pp. 128–129, 1888. Link

    Catalan's original conjecture proposed reaching 1 or a perfect number. The later Catalan-Dickson formulation allows eventual cycles.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    Journal archive confirms title, author, year and pages.

  3. H. W. Lenstra Jr., Problem 6064 (solution), The American Mathematical Monthly 84(7), p. 580, 1977. Link

    The solution to the problem posed in 1975 establishes arbitrarily long increasing aliquot chains. It does not say that every increasing chain eventually descends.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    The journal contents identify the solution on page 580 in 1977. The original problem appeared in volume 82 (1975), page 1016; the existing fragment ID is retained.

  4. OEIS A098007: length of the aliquot sequence for n, or -1 if it never cycles, The On-Line Encyclopedia of Integer Sequences. Link

    Counts distinct terms before repetition, including zero, with -1 reserved for a sequence that never cycles. Unknown entries are not encoded as zero. Its counting convention differs from a count of steps to zero.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: source text.

    Checked the sequence identifier, definition and displayed initial terms on the database entry.

Connected by how they work, not by sharing a topic label.