A125310 Numbers n such that n = sum of deficient proper divisors of n.
6, 28, 90, 496, 8128, 33550336, 8589869056
Offset: 1
Keywords
Examples
90 has deficient proper divisors 1, 2, 3, 5, 9, 10, 15, 45, which sum to 90. Hence 90 is a term of the sequence.
Crossrefs
Programs
-
Mathematica
sigdef[n_] := Module[{d, l, ct, i}, d = Drop[Divisors[n],-1]; l = Length[d]; ct = 0; For[i = 1, i <= l, i++, If[DivisorSigma[1, d[[i]]] < 2 d[[i]], ct = ct + d[[i]]]]; ct]; l = {}; For[i = 1, i <= 10^8, i++, If[sigdef[i] == i, l = Append[l, i]]]; l
-
PARI
is(n)=sumdiv(n,d,(sigma(d,-1)<2 && d
Charles R Greathouse IV, Jan 17 2013
Comments