cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A168654 The sum of the proper divisors of n, weighted by divisor multiplicity, equals n.

This page as a plain text file.
%I A168654 #6 May 25 2019 22:08:26
%S A168654 6,152,656,2888,18632,36224,55328384,1082574464
%N A168654 The sum of the proper divisors of n, weighted by divisor multiplicity, equals n.
%C A168654 The multiplicity of a divisor d > 1 in n is defined as the largest power i for which d^i divides n; otherwise is defined as 1 if d = 1.
%C A168654 From _Ray Chandler_, Dec 08 2009: (Start)
%C A168654 Also in the sequence, but not necessarily the next terms,
%C A168654 2^k * p where p = A168512(2^k) is prime:
%C A168654 2^18 * 525529 = 137764274176,
%C A168654 2^25 * 67117859 = 2252101635801088,
%C A168654 2^26 * 134234921 = 9008353057439744,
%C A168654 2^30 * 2147551801 = 2305916187940225024,
%C A168654 2^40 * 2199025372073 = 2417853966368708281499648,
%C A168654 2^50 * 2251799880936649 = 2535301276174804923929356926976,
%C A168654 as well as k = 150, 348, 694, ... (End)
%e A168654 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.
%t A168654 (*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
%Y A168654 Cf. A168512
%K A168654 more,nonn
%O A168654 1,1
%A A168654 _Joseph L. Pe_, Dec 01 2009
%E A168654 a(7)-a(8) from _Ray Chandler_, Dec 08 2009