A364158 Numbers whose multiset of prime factors has low (i.e. least) co-mode 2.
1, 2, 4, 6, 8, 10, 14, 16, 18, 22, 26, 30, 32, 34, 36, 38, 42, 46, 50, 54, 58, 62, 64, 66, 70, 74, 78, 82, 86, 90, 94, 98, 100, 102, 106, 108, 110, 114, 118, 122, 126, 128, 130, 134, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174, 178, 182, 186, 190, 194
Offset: 1
Keywords
Examples
The terms together with their prime factorizations begin: 1 = 2 = 2 4 = 2*2 6 = 2*3 8 = 2*2*2 10 = 2*5 14 = 2*7 16 = 2*2*2*2 18 = 2*3*3 22 = 2*11 26 = 2*13 30 = 2*3*5 32 = 2*2*2*2*2 34 = 2*17 36 = 2*2*3*3
Crossrefs
Partitions of this type are counted by A364159.
Ranking partitions:
Programs
-
Mathematica
prifacs[n_]:=If[n==1,{},Flatten[ConstantArray@@@FactorInteger[n]]]; comodes[ms_]:=Select[Union[ms],Count[ms,#]<=Min@@Length/@Split[ms]&]; Select[Range[100],#==1||Min[comodes[prifacs[#]]]==2&]
Comments