OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
6 is a term since its set of bi-unitary divisors, {1, 2, 3, 6}, can be partitioned into 2 disjoint sets, whose sum is equal: 1 + 2 + 3 = 6.
MATHEMATICA
uDivs[n_] := Select[Divisors[n], CoprimeQ[#, n/#] &]; bDivs[n_] := Select[Divisors[n], Last @ Intersection[uDivs[#], uDivs[n/#]] == 1 &]; bzQ[n_] := Module[{d = bDivs[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]]; Select[Range[10^3], bzQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 27 2020
STATUS
approved