Maths WorkshopMaths problems with full solutions
Exercise 929Number theory › Divisibility and gcdOlympiadAdded 3 Nov 2026

The radical of an integer

#radical#squarefree#prime factorization

Statement

Define the radical rad⁡(n)=∏p∣np\operatorname{rad}(n)=\prod_{p\mid n}p (product of distinct prime divisors). Show that n/rad⁡(n)n/\operatorname{rad}(n) is a perfect square iff nn is of the form m2⋅sm^2\cdot s where ss is squarefree and rad⁡(s)=rad⁡(n)\operatorname{rad}(s)=\operatorname{rad}(n).

Hint

Write n=∏pαpn=\prod p^{\alpha_p} and compute n/rad⁡(n)=∏pαp−1n/\operatorname{rad}(n)=\prod p^{\alpha_p-1}.

Show solutionHide solution

Solution

Computation. n/rad⁡(n)=∏pαp−1n/\operatorname{rad}(n)=\prod p^{\alpha_p-1}.

Perfect square condition. αp−1\alpha_p-1 even for all pp, i.e. αp\alpha_p odd for all p∣np\mid n. So n=∏p2βp+1=(∏pβp)2⋅∏pn=\prod p^{2\beta_p+1}=(\prod p^{\beta_p})^2\cdot\prod p, i.e. n=m2⋅rad⁡(n)n=m^2\cdot\operatorname{rad}(n) where m=∏pβpm=\prod p^{\beta_p}.

Conclusion. n/rad⁡(n)n/\operatorname{rad}(n) is a perfect square iff all prime exponents in nn are odd, iff n=m2rad⁡(n)n=m^2\operatorname{rad}(n).