Say there was a function f(x) which would display integers based on how composite they were, and numbers that had more factors than others would show up as spikes on the graph.
Take the number 840. This number has 32 distinct factors, and according to a program I ran, this is the most out of any number in the range 1-1,000. Because of this, it would show up as a big spike on the graph. Now, take the number 3,510. This number also has 32 distinct factors, but because it is much larger, there are many more numbers in its range which have more distinct factors, and as such, it will not be as big of a spike as 840.
Now, take the number 397. It is a prime number, and a very large one. Because of this, it would be a very low point on the graph. But, take the number 5. It is also prime, but being such a low prime, there are not very many numbers in its range that have more factors. So, it would be a lot higher than 397 on the graph.
Is there a function that can do anything like this?