A381434 Numbers appearing only once in A381431 (section-sum partition of prime indices).
1, 2, 3, 4, 8, 9, 10, 14, 15, 16, 20, 22, 27, 28, 32, 33, 35, 40, 44, 45, 50, 55, 56, 64, 75, 77, 80, 81, 88, 98, 99, 100, 112, 128, 130, 135, 160, 170, 175, 176, 182, 190, 195, 196, 200
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 2: {1} 3: {2} 4: {1,1} 8: {1,1,1} 9: {2,2} 10: {1,3} 14: {1,4} 15: {2,3} 16: {1,1,1,1} 20: {1,1,3} 22: {1,5} 27: {2,2,2} 28: {1,1,4} 32: {1,1,1,1,1}
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; egs[y_]:=If[y=={},{},Table[Total[Select[Union[y],Count[y,#]>=i&]],{i,Max@@Length/@Split[y]}]]; Select[Range[100],Count[Times@@Prime/@#&/@egs/@IntegerPartitions[Total[prix[#]]],#]==1&]
Comments