A362981 Heinz numbers of integer partitions such that 2*(least part) >= greatest part.
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 21, 23, 24, 25, 27, 29, 31, 32, 35, 36, 37, 41, 43, 45, 47, 48, 49, 53, 54, 55, 59, 61, 63, 64, 65, 67, 71, 72, 73, 75, 77, 79, 81, 83, 89, 91, 96, 97, 101, 103, 105, 107, 108, 109, 113, 119, 121, 125
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 16: {1,1,1,1} 36: {1,1,2,2} 2: {1} 17: {7} 37: {12} 3: {2} 18: {1,2,2} 41: {13} 4: {1,1} 19: {8} 43: {14} 5: {3} 21: {2,4} 45: {2,2,3} 6: {1,2} 23: {9} 47: {15} 7: {4} 24: {1,1,1,2} 48: {1,1,1,1,2} 8: {1,1,1} 25: {3,3} 49: {4,4} 9: {2,2} 27: {2,2,2} 53: {16} 11: {5} 29: {10} 54: {1,2,2,2} 12: {1,1,2} 31: {11} 55: {3,5} 13: {6} 32: {1,1,1,1,1} 59: {17} 15: {2,3} 35: {3,4} 61: {18}
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],2*Min@@prix[#]>=Max@@prix[#]&]
Comments