A367860 Sum of the multiset multiplicity cokernel (in which each multiplicity becomes the greatest element of that multiplicity) of the prime indices of n.
0, 1, 2, 1, 3, 4, 4, 1, 2, 6, 5, 3, 6, 8, 6, 1, 7, 3, 8, 4, 8, 10, 9, 3, 3, 12, 2, 5, 10, 9, 11, 1, 10, 14, 8, 4, 12, 16, 12, 4, 13, 12, 14, 6, 5, 18, 15, 3, 4, 4, 14, 7, 16, 3, 10, 5, 16, 20, 17, 7, 18, 22, 6, 1, 12, 15, 19, 8, 18, 12, 20, 3, 21, 24, 5, 9, 10
Offset: 1
Keywords
Examples
The multiset multiplicity cokernel of {1,2,2,3} is {2,3,3}, so a(90) = 8.
Programs
-
Mathematica
mmc[q_]:=With[{mts=Length/@Split[q]}, Sort[Table[Max@@Select[q,Count[q,#]==i&], {i,mts}]]]; Table[Total[mmc[PrimePi/@Join@@ConstantArray@@@If[n==1, {},FactorInteger[n]]]],{n,100}]
Comments