The function AliquotSequence finds an aliquot sequence for a given positive integer. The function stops at 1 or before a term is repeated.The function is restricted so that it will not produce more than 100 terms in the aliquot sequence for the given number.