We have:
- the smallest prime factor of less than half of all integers is ≤ 31
- the smallest prime factor of over half of all integers is ≤ 37
So, clearly, the prime p where exactly half of all integers have something ≤ p as their smallest prime factor must lie between 31 and 37 :-)
Alternatively, one could argue such a prime doesn’t exist. That, I think, is the better answer.
That doesn’t imply there’s no good definition of that median, though because it’s 100% acceptable to have a set of numbers whose median is not an element of that set. https://en.wikipedia.org/wiki/Median#Finite_data_set_of_numb...:
“If the data set has an even number of observations, there is no distinct middle value and the median is usually defined to be the arithmetic mean of the two middle values.[1][2] For example, this data set of 8 numbers
1, 2, 3, 4, 5, 6, 8, 9 has a median value of 4.5”
So i guess the hunt still is on for a good argument as to why a non-prime such as 36 or even a real such as 36.716… should be called the median of the smallest prime factors of all integers (I wouldn’t know whether that exists)