login
Numbers with biquanimous prime signature.
17

%I #18 Jul 24 2024 17:56:09

%S 1,6,10,14,15,21,22,26,33,34,35,36,38,39,46,51,55,57,58,60,62,65,69,

%T 74,77,82,84,85,86,87,90,91,93,94,95,100,106,111,115,118,119,122,123,

%U 126,129,132,133,134,140,141,142,143,145,146,150,155,156,158,159

%N Numbers with biquanimous prime signature.

%C First differs from A320911 in lacking 900.

%C First differs from A325259 in having 1 and lacking 120.

%C 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.

%C Also numbers n with a unitary divisor d|n having exactly half as many prime factors as n, counting multiplicity.

%H Robert Israel, <a href="/A371781/b371781.txt">Table of n, a(n) for n = 1..10000</a>

%e The prime signature of 120 is (3,1,1), which is not biquanimous, so 120 is not in the sequence.

%p biquanimous:= proc(L) local s,x,i,P; option remember;

%p s:= convert(L,`+`); if s::odd then return false fi;

%p P:= mul(1+x^i,i=L);

%p coeff(P,x,s/2) > 0

%p end proc:

%p select(n -> biquanimous(ifactors(n)[2][..,2]), [$1..200]); # _Robert Israel_, Apr 22 2024

%t g[n_]:=Select[Divisors[n],GCD[#,n/#]==1&&PrimeOmega[#]==PrimeOmega[n/#]&];

%t Select[Range[100],g[#]!={}&]

%t (* second program: *)

%t q[n_] := Module[{e = FactorInteger[n][[;; , 2]], sum, x}, sum = Plus @@ e; EvenQ[sum] && CoefficientList[Product[1 + x^i, {i, e}], x][[1 + sum/2]] > 0]; q[1] = True; Select[Range[200], q] (* _Amiram Eldar_, Jul 24 2024 *)

%Y A number's prime signature is given by A124010.

%Y For prime indices we have A357976, counted by A002219 aerated.

%Y The complement for prime indices is A371731, counted by A371795, A006827.

%Y The complement is A371782, counted by A371840.

%Y Partitions of this type are counted by A371839.

%Y A112798 lists prime indices, reverse A296150, length A001222, sum A056239.

%Y A237258 aerated counts biquanimous strict partitions, ranks A357854.

%Y A321142 and A371794 count non-biquanimous strict partitions.

%Y A321451 counts non-quanimous partitions, ranks A321453.

%Y A321452 counts quanimous partitions, ranks A321454.

%Y A371783 counts k-quanimous partitions.

%Y A371791 counts biquanimous sets, complement A371792.

%Y Cf. A035470, A064914, A232466, A299702, A336137, A371737, A371796.

%Y Subsequence of A028260.

%K nonn

%O 1,2

%A _Gus Wiseman_, Apr 09 2024