OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..250
EXAMPLE
56 is a term since there is only one partition of its set of bi-unitary divisors, {1, 3, 4, 5, 12, 15, 20, 60}, into 2 disjoint sets whose sum is equal: 1 + 3 + 4 + 5 + 12 + 15 + 20 = 60.
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 < n || OddQ[sum], False, CoefficientList[Product[1 + x^i, {i, d}], x][[1 + sum/2]] == 2]]; Select[Range[6000], bzQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 27 2020
STATUS
approved