A168654 The sum of the proper divisors of n, weighted by divisor multiplicity, equals n.
6, 152, 656, 2888, 18632, 36224, 55328384, 1082574464
Offset: 1
Examples
The proper divisors of 152 are 1, 2, 4, 8, 19, 38, 76 of multiplicity 1, 3, 1, 1, 1, 1, 1 respectively. Since 1*1 + 3*2 + 1*4 + 1* 8 + 1*19 + 1*38 + 1*76 = 152, then 152 belongs to the sequence.
Crossrefs
Cf. A168512
Programs
-
Mathematica
(*multiplicity of d in n*) divmult[d_, n_] := Module[{output, i}, If[d == 1, output = 1, If[d == n, output = 1, i = 0; While[Mod[n, d^(i + 1)] == 0, i = i + 1]; output = i]]; output]; (*sum of divisors weighted by divisor multiplicity*) dmt[n_] := Module[{divs, l}, divs = Divisors[n]; l = Length[divs]; Sum[divmult[divs[[i]], n]*divs[[i]], {i, 1, l}]]; (*search for sequence terms*) ls = {}; Do[If[dmt[n] == 2 n, ls = Append[ls, n]], {n, 2, 10^7}]; ls
Extensions
a(7)-a(8) from Ray Chandler, Dec 08 2009
Comments