A349150 Heinz numbers of integer partitions with at most one odd part.
1, 2, 3, 5, 6, 7, 9, 11, 13, 14, 15, 17, 18, 19, 21, 23, 26, 27, 29, 31, 33, 35, 37, 38, 39, 41, 42, 43, 45, 47, 49, 51, 53, 54, 57, 58, 59, 61, 63, 65, 67, 69, 71, 73, 74, 77, 78, 79, 81, 83, 86, 87, 89, 91, 93, 95, 97, 98, 99, 101, 103, 105, 106, 107, 109
Offset: 1
Keywords
Examples
The terms and their prime indices begin: 1: {} 23: {9} 49: {4,4} 2: {1} 26: {1,6} 51: {2,7} 3: {2} 27: {2,2,2} 53: {16} 5: {3} 29: {10} 54: {1,2,2,2} 6: {1,2} 31: {11} 57: {2,8} 7: {4} 33: {2,5} 58: {1,10} 9: {2,2} 35: {3,4} 59: {17} 11: {5} 37: {12} 61: {18} 13: {6} 38: {1,8} 63: {2,2,4} 14: {1,4} 39: {2,6} 65: {3,6} 15: {2,3} 41: {13} 67: {19} 17: {7} 42: {1,2,4} 69: {2,9} 18: {1,2,2} 43: {14} 71: {20} 19: {8} 45: {2,2,3} 73: {21} 21: {2,4} 47: {15} 74: {1,12}
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],Count[Reverse[primeMS[#]],_?OddQ]<=1&]
Comments