Add the proper divisors of 220 — 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110 — and the workbench prints 284. Do the same to 284, which has only five proper divisors (1, 2, 4, 71, 142), and it prints 220 back. Two numbers that count each other are called amicable, and the ancients thought the pair a figure for friendship because each is the other's parts taken whole.
The 71 and 142 in that second addition are not random: Thabit ibn Qurra's rule takes three numbers of the shape 3·2ⁿ − 1, 3·2ⁿ⁻¹ − 1 and 9·2²ⁿ⁻¹ − 1, and when all three are prime the pair is 2ⁿ times the product of the first two against 2ⁿ times the third. At n = 2 those are 11, 5 and 71, so the pair is 4·11·5 = 220 and 4·71 = 284 — the 71 on the screen is the third prime, doubled. The rule's next success, n = 4, gives 17296 and 18416, the pair Fermat found in 1636 some seven centuries after Thabit wrote the rule down; Descartes announced 9363584 and 9437056 two years later, and those are the same rule at n = 7. The engraving custom — the two numbers cut onto tablets and drinking cups as a pledge of friendship — is Iamblichus' story about 220 and 284 themselves, not about either of the later pairs.
Answer
284
How to read it
The sum of the proper divisors of 220 on the workbench. The second link sums the proper divisors of 284 and lands on 220.
Source
Known to the Pythagoreans and reported by Iamblichus; Thabit ibn Qurra (836–901) gave the rule that produces this pair at n = 2, the same rule at n = 4 gives 17296 and 18416, found by Fermat in 1636, and at n = 7 gives 9363584 and 9437056, announced by Descartes in 1638
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.