OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
60 is a term since its set of divisors can be partitioned into two disjoint subsets: {1, 6, 12, 15, 20, 30} and {60, 10, 5, 4, 3, 2} = {60/1, 60/6, 60/12, 60/15, 60/20, 60/30} with the equal sum of 84, and with no pair of complementary divisors (d, 60/d) in the same subset.
MATHEMATICA
seqQ[n_] := Module[{d = Divisors[n]}, nd = Length[d]; If[OddQ[nd], False, divpairs = d[[-1 ;; nd/2 + 1 ;; -1]] - d[[1 ;; nd/2]]; sd = Plus @@ divpairs; If[OddQ[sd], False, SeriesCoefficient[Series[Product[1 + x^divpairs[[i]], {i, Length[divpairs]}], {x, 0, sd/2}], sd/2] > 0]]]; Select[Range[1000], seqQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Apr 27 2020
STATUS
approved