A379721 Numbers whose prime indices have sum <= product.
1, 2, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 30, 31, 33, 35, 37, 39, 41, 42, 43, 45, 47, 49, 50, 51, 53, 54, 55, 57, 59, 61, 63, 65, 66, 67, 69, 70, 71, 73, 75, 77, 78, 79, 81, 83, 84, 85, 87, 89, 90, 91, 93, 95, 97, 98, 99, 100, 101, 102, 103
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 2: {1} 3: {2} 5: {3} 7: {4} 9: {2,2} 11: {5} 13: {6} 15: {2,3} 17: {7} 19: {8} 21: {2,4} 23: {9} 25: {3,3} 27: {2,2,2} 29: {10} 30: {1,2,3}
Crossrefs
Nonpositive positions in A325036.
Counting and ranking multisets by comparing sum and product:
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],Total[prix[#]]<=Times@@prix[#]&]
Comments