[Home] [Puzzles & Projects] [Delphi Techniques] [Math topics] [Library] [Utilities]
|
|
Problem DescriptionHere's a program to let you start exploring the interesting topic of Perfect, Amicable, and Sociable numbers. They are defined by the sums of their aliquot divisors. The aliquot divisors of a number are all of its divisors except the number itself. The aliquot sum is the sum of the aliquot divisors so, for example, the aliquot divisors of 12 are 1, 2, 3, 4, and 6 and it's aliquot sum is 16. A number whose aliquot sum equals its value is a PERFECT number (6 for example). If we denote the aliquot sum by ASUM, then the condition for a perfect number is ASum(N)=N. Numbers A and B with the property that ASum(A)=B and ASum(B)=A are called AMICABLE numbers. Longer cycles exist, these are sometimes called SOCIABLE numbers. For example ASum(A)=B, ASum(B)=C, ASum(C)=A would be a Sociable cycle of length 3. AliquotSums is a program that will let you search for Perfect, Amicable and Sociable numbers, including one remarkable cycle 28 numbers in length.
|
![]() | Download source |
![]() | Download executable |
![]() |
Search on the term "Aliquot" or Aliquot sequence" and you find a number of dedicated pages. There is a unproven conjecture (I guess that's redundant, conjectures are unproven by definition.) that every aliquot sequence either ends at 1 (when it reaches a prime number) or cycles. They are mostly using C code and large integer components to factor large primes - hundreds of digits. |
![]() |
There exist at least a few, and probably an infinite number, of aliquot triples, three numbers with the property that the aliquot sum of any two of them equals the third. It would be an interesting problem to modify AliquotSums to search for these triples. |
![]() |
I haven't found any aliquot sequences that cycle after 3 or 4 numbers. I wonder if any exist? |
[Feedback] [Newsletters (subscribe/view)] [About me]Copyright © 2000-2018, Gary Darby All rights reserved. |