OFFSET
1,1
COMMENTS
A finite multiset of numbers is defined to be biquanimous iff it can be partitioned into two multisets with equal sums. Biquanimous partitions are counted by A002219 (aerated) and ranked by A357976.
Also numbers n without a unitary divisor d|n having exactly half as many prime factors as n, counting multiplicity.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The prime signature of 120 is (3,1,1), which is not biquanimous, so 120 is in the sequence.
MATHEMATICA
g[n_]:=Select[Divisors[n], GCD[#, n/#]==1&&PrimeOmega[#]==PrimeOmega[n/#]&];
Select[Range[100], g[#]=={}&]
(* second program: *)
q[n_] := Module[{e = FactorInteger[n][[;; , 2]], sum, x}, sum = Plus @@ e; OddQ[sum] || CoefficientList[Product[1 + x^i, {i, e}], x][[1 + sum/2]] == 0]; q[1] = False; Select[Range[120], q] (* Amiram Eldar, Jul 24 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 09 2024
STATUS
approved