OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
72 is a term since its set of infinitary divisors, {1, 2, 4, 8, 9, 18, 36, 72}, can be partitioned into the two disjoint sets, {1, 2, 72} and {4, 8, 9, 18, 36}, whose sum is equal: 1 + 2 + 72 = 4 + 8 + 9 + 18 + 36 = 75.
MATHEMATICA
infdivs[n_] := If[n == 1, {1}, Sort @ Flatten @ Outer[Times, Sequence @@ (FactorInteger[n] /. {p_, m_Integer} :> p^Select[Range[0, m], BitOr[m, #] == m &])]]; infZumQ[n_] := Module[{d = infdivs[n], sum, x}, sum = Plus @@ d; If[sum < 2*n || OddQ[sum], False, CoefficientList[Product[1 + x^i, {i, d}], x][[1 + sum/2]] > 0]]; pow2Q[n_] := n == 2^IntegerExponent[n, 2]; Select[Range[1500], ! pow2Q[DivisorSigma[0, #]] && infZumQ[#] &] (* after Michael De Vlieger at A077609 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 26 2020
STATUS
approved