Let $\sigma (n)$ be the sum of divisors of $n$. Define the abundancy index of $n$ to be $I(n)=\frac {\sigma(n)}{n}=\frac ab$ with $a,b$ coprime integers. For a given limit $L$ and coprime integers $a,b$, I want to find the set of all integers $n \leq L$ with $I(n)=\frac ab$.
So far I've learnt that:
- Integers that belong to the same set are called "friendly numbers"
- Integers that are the only ones with a given index are called "solitary"
- An index for which no solutions exist is called "abundancy outlaw"
But I am not sure if that's any helpful. Is there any clever approach to this (which doesn't involve factoring all numbers)? Perhaps reducing the problem into factoring only some integers which are better candidates? I assume $a$ and $b$ to be arbitrary, but I would like to hear if an assumption on either of them yields an effective approach for that specific case.
Comment converted to an answer (so that this question does not remain in the unanswered queue):
You will need the ideas from Ludwick's "An Analysis of the Ratio $\sigma(n)/n$", an undergraduate thesis completed in May of 1994 at Penn State University. I don't think a copy is currently available online. Here is an archived copy with timestamp April 14, 2009 from the Wayback Machine.