A325397 Heinz numbers of integer partitions whose k-th differences are weakly decreasing for all k >= 0.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 41, 43, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 64, 65, 67, 69, 70, 71, 73, 74, 75, 77, 79, 81, 82, 83, 85, 86, 87, 89
Offset: 1
Keywords
Examples
Most small numbers are in the sequence. However, the sequence of non-terms together with their prime indices begins: 12: {1,1,2} 20: {1,1,3} 24: {1,1,1,2} 28: {1,1,4} 36: {1,1,2,2} 40: {1,1,1,3} 42: {1,2,4} 44: {1,1,5} 45: {2,2,3} 48: {1,1,1,1,2} 52: {1,1,6} 56: {1,1,1,4} 60: {1,1,2,3} 63: {2,2,4} 66: {1,2,5} 68: {1,1,7} 72: {1,1,1,2,2} 76: {1,1,8} 78: {1,2,6} 80: {1,1,1,1,3} The first partition that has weakly decreasing differences (A320466, A325361) but is not represented in this sequence is (3,3,2,1), which has Heinz number 150 and whose first and second differences are (0,-1,-1) and (-1,0) respectively.
Links
Crossrefs
Programs
-
Mathematica
primeptn[n_]:=If[n==1,{},Reverse[Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]]; Select[Range[100],And@@Table[GreaterEqual@@Differences[primeptn[#],k],{k,0,PrimeOmega[#]}]&]
Comments