Let $d(n)$ be the number of positive divisors of $n$. Find all $n$ such that $\frac{n}{d(n)}=p$, a prime.
If $n=\prod_{1\leq i \leq k} p_i^{r_i}$, then \begin{eqnarray*} n&=&p_1\cdot d(n)=p_1(r_1+1)(r_2+1)...(r_k+1)\\ &\ & \implies p_1^{r_1-1}p_2^{r_2}...p_k^{r_k}=(r_1+1)(r_2+1)...(r_k+1). \end{eqnarray*} But I do not get any clue here. (I previously posed a question which asked only for primes but that got only one answer, which was just an observation. But now i have deleted that account of mine and have no means for it to gain attention). Can you please help me? Thanks!