in which case I should let you in on the secret of how I should let you in on the secret to calculate the so-called aliquot function a(n) from the prime factorization of n-take the product of all terms(p(p-1) where k is the highest prime power of the prime p that divides n, and then subtract n itself For example, 276 22 x 3 x 23 and so