OFFSET
1,1
COMMENTS
The median of a multiset is either the middle part (for odd length), or the average of the two middle parts (for even length). Since the denominator is always 1 or 2, the median can be represented as an integer by multiplying by 2.
EXAMPLE
The prime factors of 60 are {2,2,3,5}, with median 5/2, so a(60) = 5.
MATHEMATICA
Table[2*Median[Join@@ConstantArray@@@FactorInteger[n]], {n, 100}]
CROSSREFS
The version for divisors is A063655.
Positions of odd terms are A072978 (except 1).
Positions of even terms are A359913 (and 1).
The version for prime indices is A360005.
The version for distinct prime indices is A360457.
The version for distinct prime factors is A360458.
The version for prime multiplicities is A360460.
The version for 0-prepended differences is A360555.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 14 2023
STATUS
approved