A379722 Numbers whose prime indices do not have the same sum as product.
1, 4, 6, 8, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 85, 86, 87, 88, 90, 91, 92, 93
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 4: {1,1} 6: {1,2} 8: {1,1,1} 10: {1,3} 12: {1,1,2} 14: {1,4} 15: {2,3} 16: {1,1,1,1} 18: {1,2,2} 20: {1,1,3} 21: {2,4} 22: {1,5} 24: {1,1,1,2} 25: {3,3} 26: {1,6} 27: {2,2,2} 28: {1,1,4} 32: {1,1,1,1,1}
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],Times@@prix[#]!=Total[prix[#]]&]
Comments