OFFSET
1,2
COMMENTS
The Heinz number of a partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k). This gives a bijective correspondence between positive integers and integer partitions.
FORMULA
EXAMPLE
The terms together with their prime indices begin:
1: ()
2: (1)
6: (2,1)
9: (2,2)
20: (3,1,1)
30: (3,2,1)
56: (4,1,1,1)
75: (3,3,2)
84: (4,2,1,1)
125: (3,3,3)
176: (5,1,1,1,1)
210: (4,3,2,1)
264: (5,2,1,1,1)
294: (4,4,2,1)
315: (4,3,2,2)
350: (4,3,3,1)
416: (6,1,1,1,1,1)
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
conj[y_]:=If[Length[y]==0, y, Table[Length[Select[y, #>=k&]], {k, 1, Max[y]}]];
Select[Range[1000], Count[primeMS[#], _?OddQ]==Count[conj[primeMS[#]], _?OddQ]&&Count[primeMS[#], _?EvenQ]==Count[conj[primeMS[#]], _?EvenQ]&]
CROSSREFS
These partitions are counted by A351976.
There are four other possible pairings of statistics:
There are two other possible double-pairings of statistics:
A122111 represents partition conjugation using Heinz numbers.
A195017 = # of even parts - # of odd parts.
A316524 = alternating sum of prime indices.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 14 2022
STATUS
approved