I'm working on showing non-trivial zero divisors exist in the Ring of Integers modulo $n^{2}$ , $n \in \mathbb{N}$ and as part of that I showed that
$a b = n^{2}$ where $a,b \in \mathbb{N}$
has a solution when $a = b = n$
and it got me wondering if this holds as the only solution in which this can occur?
So, Can a squared natural number be decomposed into the product of two distinct natural numbers?
Any tips/starting points would be greatly appreciated.
If $n$ is of the form $$ n=p_{1}^{n_{1}}\cdot p_{2}^{n_{2}}\cdot \cdots \cdot p_{k}^{n_{k}},\qquad p_{i}\text{ prime, }1\leq i\leq k, $$ then a divisor $d$ of $n$ is of the form $$ d=p_{1}^{x_{1}}\cdot p_{2}^{x_{2}}\cdot \cdots \cdot p_{k}^{x_{k}},\qquad \text{ with }0\leq x_{i}\leq n_{i}\text{,} $$
Consequently, a divisor of $n^{2}$ is of the form $$ p_{1}^{y_{1}}\cdot p_{2}^{y_{2}}\cdot \cdots \cdot p_{k}^{y_{k}},\qquad 0\leq y_{i}\leq 2n_{i}, $$ which is one of the terms we obtain by expanding the product $$ \left( 1+p_{1}+p_{1}^{2}+\ldots +p_{1}^{2n_{1}}\right) \cdot \left( 1+p_{2}+p_{2}^{2}+\ldots +p_{2}^{2n_{2}}\right) \cdot \cdots \cdot \left( 1+p_{k}+p_{k}^{2}+\ldots +p_{k}^{2n_{k}}\right) . $$ This implies that the total number of divisors of $n^{2}$ is given by $$ \left( 2n_{1}+1\right) \cdot \left( 2n_{2}+1\right) \cdot \cdots \cdot \left( 2n_{k}+1\right) \geq 3. $$
The answer is affirmative when $n$ is such that $$ \left( 2n_{1}+1\right) \cdot \left( 2n_{2}+1\right) \cdot \cdots \cdot \left( 2n_{k}+1\right) >3. $$
For instance $$n^2=6^2=36=(2\cdot 3)^2=2^2\cdot 3^2,\qquad p_1=2,p_2=3,\quad n_1=n_2=1 $$ has $(2\cdot 1+1)\cdot (2\cdot 1+1)=9 $ divisors, while $$ n^2=3^2=9,\qquad p_1=3,\quad n_1=1 $$ has only $2\cdot 1+1=3 $ divisors.