Let $\omega(n)$ refer to the number of distinct prime factors of $n$.
I'm curious about what values of $\frac{\omega(n-1)}{\omega(n)}$ (which I'll call $\alpha(n)$ for convenience) can be realized by composite numbers.
As it turns out, there are many composite $n$ such that $\alpha(n)$ is $2,3,4,5,6$ …
$2$ is very easy to achieve with a prime power.
16
25
27
49
So is $3$.
121
169
256
343
And so on up to 6.
175561
212521
326041
434281
Seven has a few but they're harder to find.
2042041
7447441
9393931
I'm curious whether every possible for $\alpha(n)$ is realizable by some composite $n$.
The examples that have turned up so far are prime powers and mostly squares of primes at that.
Update #1:
Interestingly, if you remove the restriction that $n$ has to be composite, there are relatively small solutions for $\alpha^{-1}(8)$ and $\alpha^{-1}(9)$.
Here are the solutions for $\alpha^{-1}(9)$ that I've found so far, all are prime.
300690391
340510171
358888531
397687291
406816411
Another pattern that seems to hold is that the smallest solution to $\alpha^{-1}(n)$ is less than $10^n$.
Update #2
It's possible that $\omega(-1 + 2^{\mathbb{N}_{\ge 1}})$ is $\mathbb{N}_{\ge 1}$. Since powers of two have exactly one prime factor, this is useful for establishing the truth of the lemma.
This OEIS sequence has the number of distinct factors of $-1+2^n$ https://oeis.org/A046800.
Some cursory investigation using pari/gp also suggests that this hits every positive integer.
$$ \omega(-1 + 64 ^ {60}) = 29 \\
\omega(-1 + 64 ^ {66}) = 27 \\
\omega(-1 + 64 ^ {70}) = 34
$$
Best Answer
PARTIAL ANSWER
That every integer ratio $n$ can be achieved , is probably impossible to be proven. But in the range $[2,16]$ , there are solutions in form of $p^4$ , where $p$ is a prime number :
The smallest prime power solutions are
The smallest solutions with more than one prime factor (conjecture : all of them have $2$ prime factors) :
Solutions for larger $\alpha$ :
UPDATE : Dirichlet's theorem guarantees that for infinite many positive integers $\ n\ $ , a prime number $\ p\ $ with $\ \alpha(p^2)=n\ $ exists. And if the Schinzel hypothesis is true , such a prime exists for every positive integer $\ n\ $ , hence the above conjecture is true.
Proof :
Define $$t:=\prod_{j=2}^n p_j$$ where $\ n\ge 2\ $ and $\ p_j\ $ is the $j$-th prime number. Dirichlet's theorem guarantees that there is a positive integer $\ s\ $ such that $\ q:=st+1\ $ is prime. Then $$\omega(q^2-1)\ge \omega(q-1)=\omega(st)\ge \omega(t)=n-1$$ Hence $\ \omega(q^2-1)\ $ with prime $\ q\ $ is unbounded. Therefore infinite many $\ n\ $ must be realizable.
Assume that with the above $t$ , we can find a prime $\ p>p_n\ $ such that $\ 2tp+1\ $ and $\ 4tp+1\ $ are both prime. This is possible if the Schinzel hypothesis is true. Then with $\ q:=4tp+1\ $ we have $$\omega(q+1)=\omega(4tp+2)=\omega(2(2tp+1))=2$$ and $$\omega(q-1)=\omega(4tp)=n+1$$ Because of $\ \gcd(q-1,q+1)=2\ $ , we get $$\omega(q^2-1)=\omega(q-1)+\omega(q+1)-1=n+2$$ hence every positive integer $\ n'=n+2\ge 4\ $ is realizable.