|
|
A363943
|
|
Mean of the multiset of prime indices of n, rounded down.
|
|
23
|
|
|
0, 1, 2, 1, 3, 1, 4, 1, 2, 2, 5, 1, 6, 2, 2, 1, 7, 1, 8, 1, 3, 3, 9, 1, 3, 3, 2, 2, 10, 2, 11, 1, 3, 4, 3, 1, 12, 4, 4, 1, 13, 2, 14, 2, 2, 5, 15, 1, 4, 2, 4, 2, 16, 1, 4, 1, 5, 5, 17, 1, 18, 6, 2, 1, 4, 2, 19, 3, 5, 2, 20, 1, 21, 6, 2, 3, 4, 3, 22, 1, 2, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Extending the terminology introduced at A124943, this is the "low mean" of prime indices.
|
|
LINKS
|
|
|
EXAMPLE
|
The prime indices of 360 are {1,1,1,2,2,3}, with mean 3/2, so a(360) = 1.
|
|
MATHEMATICA
|
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
meandown[y_]:=If[Length[y]==0, 0, Floor[Mean[y]]];
Table[meandown[prix[n]], {n, 100}]
|
|
CROSSREFS
|
Positions of first appearances are 1 and A000040.
The triangle for this statistic (low mean) is A363945.
A360005 gives twice the median of prime indices.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|