A383712 Heinz numbers of integer partitions with distinct multiplicities (Wilf) and distinct 0-appended differences.
1, 2, 3, 4, 5, 7, 9, 11, 13, 17, 19, 20, 23, 25, 28, 29, 31, 37, 41, 43, 44, 45, 47, 49, 50, 52, 53, 59, 61, 67, 68, 71, 73, 75, 76, 79, 83, 89, 92, 97, 98, 99, 101, 103, 107, 109, 113, 116, 117, 121, 124, 127, 131, 137, 139, 148, 149, 151, 153, 157, 163, 164
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 2: {1} 3: {2} 4: {1,1} 5: {3} 7: {4} 9: {2,2} 11: {5} 13: {6} 17: {7} 19: {8} 20: {1,1,3} 23: {9} 25: {3,3} 28: {1,1,4} 29: {10} 31: {11} 37: {12} 41: {13} 43: {14} 44: {1,1,5} 45: {2,2,3} 47: {15} 49: {4,4} 50: {1,3,3}
Links
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n], {p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],UnsameQ@@Length/@Split[prix[#]] && UnsameQ@@Differences[Append[Reverse[prix[#]],0]]&]
Comments