A325368 Heinz numbers of integer partitions with distinct differences between successive parts.
1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 28, 29, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83
Offset: 1
Keywords
Examples
Most small numbers are in the sequence, but the sequence of non-terms together with their prime indices begins: 8: {1,1,1} 16: {1,1,1,1} 24: {1,1,1,2} 27: {2,2,2} 30: {1,2,3} 32: {1,1,1,1,1} 36: {1,1,2,2} 40: {1,1,1,3} 48: {1,1,1,1,2} 54: {1,2,2,2} 56: {1,1,1,4} 60: {1,1,2,3} 64: {1,1,1,1,1,1} 72: {1,1,1,2,2} 80: {1,1,1,1,3} 81: {2,2,2,2} 88: {1,1,1,5} 90: {1,2,2,3} 96: {1,1,1,1,1,2} 100: {1,1,3,3}
Links
Crossrefs
Programs
-
Mathematica
primeptn[n_]:=If[n==1,{},Reverse[Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]]; Select[Range[100],UnsameQ@@Differences[primeptn[#]]&]
Comments