How this calculation works
Squaring a positive integer changes its exponents and leaves its radical unchanged.
rad(n) = product of distinct primes dividing nA worked example
72 = 2³ × 3², so its radical is 2 × 3 = 6.
Good to know
The radical of 1 is 1.
Reference: NIST DLMF, Functions of Number Theory (opens in a new tab) ↗
Retain each distinct prime once
The default number 72 factors as 2³ × 3². Its radical is the product of the distinct primes 2 and 3, giving rad(72) = 6. Repeated copies are removed regardless of how large their exponents are. The diagram contrasts the five prime-factor occurrences with the two factors retained in the result.
A radical in this number-theory sense differs from taking a square root. The square root of 72 is 6√2, whereas its integer radical is 6. For 8 = 2³ the radical is 2, which makes the distinction especially clear.
Identify squarefree inputs and divisibility relationships
A positive integer is squarefree exactly when every prime exponent is one. Its radical then equals the original number. For example, 30 = 2 × 3 × 5 has radical 30. A repeated factor makes the radical smaller, as for 72.
The Möbius function calculator returns zero precisely when a prime square divides the input. For integers above one, that is also the situation in which the radical differs from the original number. The radical always divides its input because each retained prime occurs in the factorization. It is the largest squarefree divisor of that input. One has no distinct prime factors and uses the empty-product value rad(1) = 1.
A few questions, answered
Does the radical discard large primes?
No. It removes repeated occurrences. Every distinct prime divisor, large or small, remains in the product.
Can two different numbers have the same radical?
Yes. Six, 12, 18, 36 and 72 all have exactly the distinct prime factors 2 and 3, so their radical is 6.