A nonzero integer dd is square-free if the only positive integer mm for which m2m^2 dd is m=1m=1. Equivalently, no prime square divides dd.

Examples

The integers 1,2,3,5,61,2,3,5,6 are square-free; 1212 is not, since 4124\mid12. The sign makes no difference. Zero is excluded.

Quadratic-field parameters

Removing square factors gives Q(12)=Q(3)\mathbb Q(\sqrt{-12})=\mathbb Q(\sqrt{-3}). Using a positive square-free parameter avoids describing the same imaginary quadratic field repeatedly.