This is a follow-up question.
The problem is:
Given two natural numbers, $m$ and $n$, and $n \vert m^2$.
Find necessary and sufficient conditions for $n \vert m$.
Here are what I find:
Necessity
- $m \geq n$ (trivial)
- ?
Sufficiency
- $n$ is prime - follows directly from Matthias's answer
- $\color{#c00}{n \text{ is} ~square\!-\!free,}$ $\color{#c00}{\text{i.e., has no} ~repeated~prime~factor}$ (stated in JHance's comment to my answer) - as pointed out by gammatester, it is wrong.
- ?
Help me to complete this list, folks.