OFFSET
1,1
COMMENTS
EXAMPLE
The terms together with their prime indices begin:
49: {4,4}
63: {2,2,4}
65: {3,6}
81: {2,2,2,2}
125: {3,3,3}
150: {1,2,3,3}
154: {1,4,5}
165: {2,3,5}
169: {6,6}
190: {1,3,8}
198: {1,2,2,5}
259: {4,12}
273: {2,4,6}
333: {2,2,12}
351: {2,2,2,6}
361: {8,8}
364: {1,1,4,6}
For example, 198 has prime indices {1,2,2,5}, and 20/10 is an integer > 1, so 198 is in the sequence.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[2, 1000], Divisible[Times@@prix[#], Total[prix[#]]]&&!SameQ[Times@@prix[#], Total[prix[#]]]&]
CROSSREFS
Also a superset of A326151.
The squarefree case is A326158 without first term.
Partitions of this type are counted by A380219.
A379666 counts partitions by sum and product.
Counting and ranking multisets by comparing sum and product:
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 23 2025
STATUS
approved